diff options
author | Bruno Haible <bruno@clisp.org> | 2019-03-14 23:54:28 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-03-14 23:54:28 +0100 |
commit | a336be6b8c12a99506bf4fbe654108bd179704b7 (patch) | |
tree | 9584b0bc90a4dd56ac81d83a0175b5025dc5f56f /build-aux/mkinstalldirs | |
parent | 05044004157556f2c41e35b3823688a984722d15 (diff) | |
download | gnulib-a336be6b8c12a99506bf4fbe654108bd179704b7.tar.gz |
isatty: Make it return true in Cygwin consoles on native Windows.
* lib/isatty.c: Include <string.h>.
(GetProcAddress): New macro.
(GetNamedPipeClientProcessIdFuncType): New type.
(GetNamedPipeClientProcessIdFunc): New variable.
(QueryFullProcessImageNameFuncType): New type.
(QueryFullProcessImageNameFunc): New variable.
(initialized): New variable.
(initialize): New function.
(IsCygwinConsoleHandle): New function.
(isatty): Invoke it.
* doc/posix-functions/isatty.texi: Mention the issue.
Diffstat (limited to 'build-aux/mkinstalldirs')
0 files changed, 0 insertions, 0 deletions