mirror of git://sourceware.org/git/glibc.git
[BZ #640]
Update. 2005-01-06 Ulrich Drepper <drepper@redhat.com> * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
This commit is contained in:
parent
4d37c8aa01
commit
f14038f2e2
|
@ -1,3 +1,7 @@
|
||||||
|
2005-01-06 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
|
||||||
|
|
||||||
2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
|
2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
|
||||||
|
|
||||||
* math/libm-test.inc (rint_test_tonearest): New test.
|
* math/libm-test.inc (rint_test_tonearest): New test.
|
||||||
|
|
|
@ -890,6 +890,11 @@ extern void sync (void) __THROW;
|
||||||
extern int getpagesize (void) __THROW __attribute__ ((__const__));
|
extern int getpagesize (void) __THROW __attribute__ ((__const__));
|
||||||
|
|
||||||
|
|
||||||
|
/* Return the maximum number of file descriptors
|
||||||
|
the current process could possibly have. */
|
||||||
|
extern int getdtablesize (void) __THROW;
|
||||||
|
|
||||||
|
|
||||||
/* Truncate FILE to LENGTH bytes. */
|
/* Truncate FILE to LENGTH bytes. */
|
||||||
# ifndef __USE_FILE_OFFSET64
|
# ifndef __USE_FILE_OFFSET64
|
||||||
extern int truncate (__const char *__file, __off_t __length)
|
extern int truncate (__const char *__file, __off_t __length)
|
||||||
|
@ -908,6 +913,10 @@ extern int truncate64 (__const char *__file, __off64_t __length)
|
||||||
__THROW __nonnull ((1)) __wur;
|
__THROW __nonnull ((1)) __wur;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
#endif /* Use BSD || X/Open Unix. */
|
||||||
|
|
||||||
|
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
|
||||||
|
|
||||||
/* Truncate the file FD is open on to LENGTH bytes. */
|
/* Truncate the file FD is open on to LENGTH bytes. */
|
||||||
# ifndef __USE_FILE_OFFSET64
|
# ifndef __USE_FILE_OFFSET64
|
||||||
extern int ftruncate (int __fd, __off_t __length) __THROW __wur;
|
extern int ftruncate (int __fd, __off_t __length) __THROW __wur;
|
||||||
|
@ -923,12 +932,7 @@ extern int __REDIRECT_NTH (ftruncate, (int __fd, __off64_t __length),
|
||||||
extern int ftruncate64 (int __fd, __off64_t __length) __THROW __wur;
|
extern int ftruncate64 (int __fd, __off64_t __length) __THROW __wur;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
#endif /* Use BSD || X/Open Unix || POSIX 2003. */
|
||||||
/* Return the maximum number of file descriptors
|
|
||||||
the current process could possibly have. */
|
|
||||||
extern int getdtablesize (void) __THROW;
|
|
||||||
|
|
||||||
#endif /* Use BSD || X/Open Unix. */
|
|
||||||
|
|
||||||
|
|
||||||
#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
|
#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
|
||||||
|
|
Loading…
Reference in New Issue