1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 23:35:50 +00:00
Files
gnulib/modules/stdopen
T
Paul Eggert a4015f0453 stdopen: modernize and simplify
* lib/stdopen.c: Update copyright date
Do not include sys/types.h; no longer needed these days.
(stdopen): Use C99-style decl in loop.  Return int errno
value, rather than just a bool.  Do not worry about fd mismatches,
since the caller cares only if 0, 1, 2 are occupied.
* lib/stdopen.h: No need to include <stdbool.h>.
* m4/stdopen.m4: Remove.
* modules/stdopen: New file.
2019-01-05 18:04:24 -08:00

25 lines
226 B
Plaintext

Description:
Arrange for stdin/stdout/stderr to be open.
Files:
lib/stdopen.c
lib/stdopen.h
Depends-on:
fcntl
unistd
configure.ac:
Makefile.am:
lib_SOURCES += stdopen.c
Include:
"stdopen.h"
License:
GPL
Maintainer:
all