diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-03-09 14:35:26 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2009-03-09 14:35:26 +0000 |
commit | 5c1d419918b3637170da9a5592049048aaf0ee49 (patch) | |
tree | 8ad672f8707275fdbeaf5b8a45eeb2bc8144623a /libio | |
parent | 48da74123eca38beeaec03d3d46ba09f069ef7dc (diff) | |
download | glibc-5c1d419918b3637170da9a5592049048aaf0ee49.tar.gz glibc-5c1d419918b3637170da9a5592049048aaf0ee49.tar.xz glibc-5c1d419918b3637170da9a5592049048aaf0ee49.zip |
Updated to fedora-glibc-20090309T1421 cvs/fedora-glibc-2_9_90-9
Diffstat (limited to 'libio')
-rw-r--r-- | libio/stdio.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libio/stdio.h b/libio/stdio.h index e794da2e12..52e921d7d4 100644 --- a/libio/stdio.h +++ b/libio/stdio.h @@ -1,5 +1,5 @@ /* Define ISO C stdio on top of C++ iostreams. - Copyright (C) 1991, 1994-2007, 2008 Free Software Foundation, Inc. + Copyright (C) 1991, 1994-2007, 2008, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -291,7 +291,9 @@ extern FILE *fdopen (int __fd, __const char *__modes) __THROW __wur; extern FILE *fopencookie (void *__restrict __magic_cookie, __const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) __THROW __wur; +#endif +#ifdef __USE_XOPEN2K8 /* Create a new stream that refers to a memory buffer. */ extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __THROW __wur; @@ -382,7 +384,9 @@ extern int __asprintf (char **__restrict __ptr, extern int asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) __THROW __attribute__ ((__format__ (__printf__, 2, 3))) __wur; +#endif +#ifdef __USE_XOPEN2K8 /* Write formatted output to a file descriptor. These functions are not part of POSIX and therefore no official @@ -622,7 +626,7 @@ extern char *fgets_unlocked (char *__restrict __s, int __n, #endif -#ifdef __USE_GNU +#ifdef __USE_XOPEN2K8 /* Read up to (and including) a DELIMITER from STREAM into *LINEPTR (and null-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *N characters of space. It is realloc'd as |