view modules/remove @ 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 e73533e769a3
children
line wrap: on
line source

Description:
remove() function: remove a file or directory

Files:
lib/remove.c
m4/remove.m4

Depends-on:
stdio
rmdir           [test $REPLACE_REMOVE = 1]
unlink          [test $REPLACE_REMOVE = 1]

configure.ac:
gl_FUNC_REMOVE
if test $REPLACE_REMOVE = 1; then
  AC_LIBOBJ([remove])
fi
gl_STDIO_MODULE_INDICATOR([remove])

Makefile.am:

Include:
<stdio.h>

License:
LGPL

Maintainer:
Eric Blake