view modules/dup @ 40158:383f7a766b7c

test-framework-sh: Improve maintainability. * tests/init.sh: Clarify what belongs together. Reorder definitions.
author Bruno Haible <bruno@clisp.org>
date Sun, 27 Jan 2019 16:55:27 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
dup() function: duplicate an open file descriptor.

Files:
lib/dup.c
m4/dup.m4

Depends-on:
unistd
msvc-inval      [test $REPLACE_DUP = 1]

configure.ac:
gl_FUNC_DUP
if test $REPLACE_DUP = 1; then
  AC_LIBOBJ([dup])
  gl_PREREQ_DUP
fi
gl_UNISTD_MODULE_INDICATOR([dup])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
all