Mercurial > gnulib
view modules/bitset @ 40236:e3496deebf30
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 14 Mar 2019 23:54:28 +0100 |
parents | 14ac09965b35 |
children | e84036edb2ff |
line wrap: on
line source
Description: A common interface to several implementations of bitsets. Files: lib/bitset.c lib/bitset.h lib/bitset/array.c lib/bitset/array.h lib/bitset/base.h lib/bitset/list.c lib/bitset/list.h lib/bitset/stats.c lib/bitset/stats.h lib/bitset/table.c lib/bitset/table.h lib/bitset/vector.c lib/bitset/vector.h Depends-on: gettext-h obstack xalloc Makefile.am: lib_SOURCES += bitset.c bitset/array.c bitset/stats.c \ bitset/table.c bitset/list.c bitset/vector.c Include: "bitset.h" License: GPLv3+ Maintainer: Akim Demaille <akim.demaille@gmail.com>