Mercurial > gnulib
view modules/utime @ 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 | 626a5740518f |
children |
line wrap: on
line source
Description: utime() function: set access and modification times of a file. Files: lib/utime.c m4/utime.m4 Depends-on: utime-h time filename [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1] malloca [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1] configure.ac: gl_FUNC_UTIME if test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1; then AC_LIBOBJ([utime]) gl_PREREQ_UTIME fi gl_UTIME_MODULE_INDICATOR([utime]) Makefile.am: Include: <utime.h> License: LGPL Maintainer: Bruno Haible