diff options
author | Bruno Haible <bruno@clisp.org> | 2011-07-03 13:36:43 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-07-03 13:36:43 +0200 |
commit | 6b147027a1d9870d7d85e8aa8703c1233031a99c (patch) | |
tree | 035703af1e4b229f6ee524d2ac3fb4536032e427 /doc/posix-functions/read.texi | |
parent | 7170ee077cc44186a70cb264ceb8352a1349e05b (diff) | |
download | gnulib-6b147027a1d9870d7d85e8aa8703c1233031a99c.tar.gz |
Comments about EINTR.
* lib/safe-read.h: Explain the purpose of this module.
* lib/safe-write.h: Likewise.
* doc/posix-functions/read.texi: Mention EINTR and the 'safe-read'
module.
* doc/posix-functions/write.texi: Mention EINTR and the 'safe-write'
module.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
Diffstat (limited to 'doc/posix-functions/read.texi')
-rw-r--r-- | doc/posix-functions/read.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/posix-functions/read.texi b/doc/posix-functions/read.texi index 2f5312de84..2b5aeb2e44 100644 --- a/doc/posix-functions/read.texi +++ b/doc/posix-functions/read.texi @@ -17,4 +17,11 @@ mingw. Portability problems not fixed by Gnulib: @itemize +@item +This function may fail with error @code{EINTR}, even in programs that don't +install any signal handlers, on some platforms: +MacOS X 10.5. @end itemize + +For handling @code{EINTR}, Gnulib provides a module @samp{safe-read} with a +function @code{safe_read}. |