aboutsummaryrefslogtreecommitdiff
path: root/libio/stdio.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-30 00:24:07 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-30 00:24:07 +0000
commitbc2e36893ac897047556babee5f7eb8eee7003aa (patch)
tree46e2637a07005bfa7d3872b2790f846530eaff94 /libio/stdio.h
parent0261d33f8745765a829fe5d59cd4dc6534bcd1b3 (diff)
downloadglibc-bc2e36893ac897047556babee5f7eb8eee7003aa.tar
glibc-bc2e36893ac897047556babee5f7eb8eee7003aa.tar.gz
glibc-bc2e36893ac897047556babee5f7eb8eee7003aa.tar.bz2
glibc-bc2e36893ac897047556babee5f7eb8eee7003aa.zip
Update.
2003-08-28 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add semtimedop. 2003-08-29 Jakub Jelinek <jakub@redhat.com> * libio/iofgetpos64.c (_IO_new_fgetpos64): Move lock release to the end. 2003-08-29 Ulrich Drepper <drepper@redhat.com> * libio/stdio.h: Remove a few more __THROW. * libio/iofputs.c (_IO_fputs): Likewise. * libio/iofputws.c (fputws): Likewise.
Diffstat (limited to 'libio/stdio.h')
-rw-r--r--libio/stdio.h29
1 files changed, 19 insertions, 10 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index 88ef61b029..140643911f 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -470,9 +470,12 @@ __BEGIN_NAMESPACE_STD
/* Write a character to STREAM.
These functions are possible cancellation points and therefore not
+ marked with __THROW.
+
+ These functions is a possible cancellation point and therefore not
marked with __THROW. */
-extern int fputc (int __c, FILE *__stream) __THROW;
-extern int putc (int __c, FILE *__stream) __THROW;
+extern int fputc (int __c, FILE *__stream);
+extern int putc (int __c, FILE *__stream);
/* Write a character to stdout.
@@ -508,10 +511,10 @@ extern int putchar_unlocked (int __c);
#if defined __USE_SVID || defined __USE_MISC \
|| (defined __USE_XOPEN && !defined __USE_XOPEN2K)
/* Get a word (int) from STREAM. */
-extern int getw (FILE *__stream) __THROW;
+extern int getw (FILE *__stream);
/* Write a word (int) to STREAM. */
-extern int putw (int __w, FILE *__stream) __THROW;
+extern int putw (int __w, FILE *__stream);
#endif
@@ -626,9 +629,9 @@ extern int fputs_unlocked (__const char *__restrict __s,
or due to the implementation they are cancellation points and
therefore not marked with __THROW. */
extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
- size_t __n, FILE *__restrict __stream) __THROW;
+ size_t __n, FILE *__restrict __stream);
extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
- size_t __n, FILE *__restrict __stream) __THROW;
+ size_t __n, FILE *__restrict __stream);
#endif
@@ -757,11 +760,17 @@ extern int fileno_unlocked (FILE *__stream) __THROW;
#if (defined __USE_POSIX2 || defined __USE_SVID || defined __USE_BSD || \
defined __USE_MISC)
-/* Create a new stream connected to a pipe running the given command. */
-extern FILE *popen (__const char *__command, __const char *__modes) __THROW;
+/* Create a new stream connected to a pipe running the given command.
+
+ This function is a possible cancellation point and therefore not
+ marked with __THROW. */
+extern FILE *popen (__const char *__command, __const char *__modes);
-/* Close a stream opened by popen and return the status of its child. */
-extern int pclose (FILE *__stream) __THROW;
+/* Close a stream opened by popen and return the status of its child.
+
+ This function is a possible cancellation point and therefore not
+ marked with __THROW. */
+extern int pclose (FILE *__stream);
#endif