view modules/lseek @ 16105:a2d45c112907

Depend on module fcntl-h when AT_FDCWD is used. * modules/utimens (Depends-on): Add fcntl-h. * modules/areadlinkat (Depends-on): Likewise. * modules/areadlinkat-with-size (Depends-on): Likewise. * modules/faccessat (Depends-on): Likewise. * modules/fchmodat (Depends-on): Likewise. * modules/fchownat (Depends-on): Likewise. * modules/getcwd (Depends-on): Likewise. * modules/mkdirat (Depends-on): Likewise. * modules/mkfifoat (Depends-on): Likewise. * modules/readlinkat (Depends-on): Likewise. * modules/symlinkat (Depends-on): Likewise. * modules/dup2-tests (Depends-on): Likewise. * modules/fdutimensat-tests (Depends-on): Likewise. * modules/futimens-tests (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Sat, 19 Nov 2011 21:07:36 +0100
parents 16f47458947e
children 6a9ea5d7b466
line wrap: on
line source

Description:
lseek() function: Reposition a file descriptor.

Files:
lib/lseek.c
m4/lseek.m4

Depends-on:
unistd
largefile
msvc-nothrow    [test $REPLACE_LSEEK = 1]
fstat           [test $REPLACE_LSEEK = 1]

configure.ac:
gl_FUNC_LSEEK
if test $REPLACE_LSEEK = 1; then
  AC_LIBOBJ([lseek])
fi
gl_UNISTD_MODULE_INDICATOR([lseek])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Eric Blake