view modules/dup3 @ 15043:0527dd6759fc

memset: Move AC_LIBOBJ invocations to module description. * m4/memset.m4 (gl_FUNC_MEMSET): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMSET invocations from here... * modules/memset (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 15:28:17 +0200
parents 1f4382233fbe
children
line wrap: on
line source

Description:
dup3() function: copy a file descriptor, applying specific flags.

Files:
lib/dup3.c
m4/dup3.m4

Depends-on:
unistd
fcntl
binary-io
getdtablesize
extensions

configure.ac:
gl_FUNC_DUP3
gl_UNISTD_MODULE_INDICATOR([dup3])

Makefile.am:
lib_SOURCES += dup3.c

Include:
<unistd.h>

License:
LGPL

Maintainer:
Bruno Haible, Jim Meyering