From 8d88d9f8aa759acc1d0b3919fa6080bb35b0f991 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 8 Apr 1998 23:35:13 +0000 Subject: Update. 1998-04-08 Ulrich Drepper * 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. --- posix/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'posix') diff --git a/posix/unistd.h b/posix/unistd.h index 1555f07317..135f0633b5 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 -- cgit v1.2.3