view modules/pwrite @ 17431:744044c581c4

getcwd-lgpl: port to Tru64 * lib/getcwd-lgpl.c: Include <stdlib.h>, for malloc etc. Problem reported by Steven M. Schweda in <http://lists.gnu.org/archive/html/bug-gzip/2013-06/msg00010.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 11 Jun 2013 19:52:46 -0700
parents 51231c56c0a1
children
line wrap: on
line source

Description:
pwrite() function: write without changing file offset

Files:
lib/pwrite.c
m4/pwrite.m4

Depends-on:
unistd
extensions
largefile
lseek           [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1]
write           [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1]

configure.ac:
gl_FUNC_PWRITE
if test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1; then
  AC_LIBOBJ([pwrite])
fi
gl_UNISTD_MODULE_INDICATOR([pwrite])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Peter O'Gorman