view modules/pread @ 15222:62089e9fcc47

modechange: Move AC_LIBOBJ invocations to module description. * m4/modechange.m4 (gl_MODECHANGE): Remove AC_LIBOBJ invocation. * modules/modechange (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 00:57:31 +0200
parents 98b3afcd33e1
children 51231c56c0a1
line wrap: on
line source

Description:
pread() function: read without changing file offset

Files:
lib/pread.c
m4/pread.m4

Depends-on:
unistd
extensions
lseek           [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1]
read            [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1]

configure.ac:
gl_FUNC_PREAD
if test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1; then
  AC_LIBOBJ([pread])
fi
gl_UNISTD_MODULE_INDICATOR([pread])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Jim Meyering