summaryrefslogtreecommitdiff
path: root/manual/examples
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-06-21 02:04:52 +0000
committerRoland McGrath <roland@gnu.org>1993-06-21 02:04:52 +0000
commitd8038a9304f9421f293d7af8f3a8b1839f86e020 (patch)
treedf5d44132da8a42b2c9edd7757f116e6a1b9769a /manual/examples
parent9d64f21a64d23b3370d696813292b44f999dca9b (diff)
Break lines to fix formatting problems.
Diffstat (limited to 'manual/examples')
-rw-r--r--manual/examples/select.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/manual/examples/select.c b/manual/examples/select.c
index 743f30ef1e..2c9fd5b763 100644
--- a/manual/examples/select.c
+++ b/manual/examples/select.c
@@ -18,12 +18,15 @@ input_timeout (int filedes, unsigned int seconds)
timeout.tv_usec = 0;
/* @code{select} returns 0 if timeout, 1 if input available, -1 if error. */
- return TEMP_FAILURE_RETRY (select (FD_SETSIZE, &set, NULL, NULL, &timeout));
+ return TEMP_FAILURE_RETRY (select (FD_SETSIZE,
+ &set, NULL, NULL,
+ &timeout));
}
int
main (void)
{
- fprintf (stderr, "select returned %d.\n", input_timeout (STDIN_FILENO, 5));
+ fprintf (stderr, "select returned %d.\n",
+ input_timeout (STDIN_FILENO, 5));
return 0;
}