aboutsummaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-08 23:35:13 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-08 23:35:13 +0000
commit8d88d9f8aa759acc1d0b3919fa6080bb35b0f991 (patch)
treedfa02b19a5e2b5fe12e9b1c2a6870457682a25d4 /posix/unistd.h
parent2ad4fab214b13af85237b9e836c525e9ce3e7fb6 (diff)
downloadglibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.zip
glibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.tar.gz
glibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.tar.bz2
Update.
1998-04-08 Ulrich Drepper <drepper@cygnus.com> * login/utmp_file.c: use __ftruncate not ftruncate. * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name for system call and make ftruncate weak alias. * posix/unistd.h: Add prototype for __ftruncate. * login/utmp_daemon.c (open_socket): Use __socket not socket. * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv instead of snprintf and readv. * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not snprintf. * stdlib/strtod.c: Call strtoull/wcstoull's internal functions directly.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 1555f07..135f063 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -887,6 +887,7 @@ extern int truncate64 __P ((__const char *__file, __off64_t __length));
#endif
/* Truncate the file FD is open on to LENGTH bytes. */
+extern int __ftruncate __P ((int __fd, __off_t __length));
#ifndef __USE_FILE_OFFSET64
extern int ftruncate __P ((int __fd, __off_t __length));
#else