mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
* modules/unistd-h: Renamed from modules/unistd. * modules/unistd-h-tests: Renamed from modules/unistd-tests. * modules/unistd-h-c++-tests: Renamed from modules/unistd-c++-tests. * tests/test-unistd-h.c: Renamed from tests/test-unistd.c. * tests/test-unistd-h-c++.cc: Renamed from tests/test-unistd-c++.cc. * doc/posix-headers/unistd.texi: Update. * doc/posix-functions/_exit.texi: Update. * modules/* (Depends-on): Update. * modules/unistd: New file.
34 lines
516 B
Plaintext
34 lines
516 B
Plaintext
Description:
|
|
dup2() function: duplicate an open file descriptor.
|
|
|
|
Files:
|
|
lib/dup2.c
|
|
m4/dup2.m4
|
|
|
|
Depends-on:
|
|
unistd-h
|
|
msvc-inval [test $REPLACE_DUP2 = 1]
|
|
msvc-nothrow [test $REPLACE_DUP2 = 1]
|
|
|
|
configure.ac:
|
|
gl_FUNC_DUP2
|
|
gl_CONDITIONAL([GL_COND_OBJ_DUP2], [test $REPLACE_DUP2 = 1])
|
|
AM_COND_IF([GL_COND_OBJ_DUP2], [
|
|
gl_PREREQ_DUP2
|
|
])
|
|
gl_UNISTD_MODULE_INDICATOR([dup2])
|
|
|
|
Makefile.am:
|
|
if GL_COND_OBJ_DUP2
|
|
lib_SOURCES += dup2.c
|
|
endif
|
|
|
|
Include:
|
|
<unistd.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Paul Eggert, Jim Meyering
|