about summary refs log tree commit diff
path: root/manual/examples/select.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-11-04 09:18:22 +0000
committerUlrich Drepper <drepper@redhat.com>2002-11-04 09:18:22 +0000
commit8e96ae1a08f419829221ab7e31291606754f0a69 (patch)
treedebc115345fc77bd7938fe58480861fb3fa2533a /manual/examples/select.c
parent80f6f981b9801b2164c472c3d6be57d96be50219 (diff)
downloadglibc-8e96ae1a08f419829221ab7e31291606754f0a69.tar.gz
glibc-8e96ae1a08f419829221ab7e31291606754f0a69.tar.xz
glibc-8e96ae1a08f419829221ab7e31291606754f0a69.zip
Update.
2002-11-04  Ulrich Drepper  <drepper@redhat.com>

	* manual/examples/dir.c: Don't include <stddef.h>.
	* manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY.
	Reported by Frédéric Delanoy <delanoy_f@yahoo.com>.

2002-11-02  H.J. Lu  <hjl@gnu.org>

	* stdio-common/reg-printf.c: Include <stddef.h>.
Diffstat (limited to 'manual/examples/select.c')
-rw-r--r--manual/examples/select.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/examples/select.c b/manual/examples/select.c
index def2cd6f9f..a65ed77503 100644
--- a/manual/examples/select.c
+++ b/manual/examples/select.c
@@ -1,4 +1,5 @@
 /*@group*/
+#include <errno.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
@@ -6,7 +7,7 @@
 /*@end group*/
 
 /*@group*/
-int 
+int
 input_timeout (int filedes, unsigned int seconds)
 {
   fd_set set;