Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>

* manual/examples/longopt.c: Include stdlib.h and getopt.h.
This commit is contained in:
Roland McGrath 1996-05-15 23:05:44 +00:00
parent 0adc881c60
commit 46d9215f3b
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,7 @@
Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/examples/longopt.c: Include stdlib.h and getopt.h.
Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com> Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers): * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):

View File

@ -1,4 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
/* Flag set by @samp{--verbose}. */ /* Flag set by @samp{--verbose}. */
static int verbose_flag; static int verbose_flag;

View File

@ -193,11 +193,11 @@ system.
@section Atomicity of Pipe I/O @section Atomicity of Pipe I/O
Reading or writing pipe data is @dfn{atomic} if the size of data written Reading or writing pipe data is @dfn{atomic} if the size of data written
is less than @code{PIPE_BUF}. This means that the data transfer seems is not greater than @code{PIPE_BUF}. This means that the data transfer
to be an instantaneous unit, in that nothing else in the system can seems to be an instantaneous unit, in that nothing else in the system
observe a state in which it is partially complete. Atomic I/O may not can observe a state in which it is partially complete. Atomic I/O may
begin right away (it may need to wait for buffer space or for data), but not begin right away (it may need to wait for buffer space or for data),
once it does begin, it finishes immediately. but once it does begin, it finishes immediately.
Reading or writing a larger amount of data may not be atomic; for Reading or writing a larger amount of data may not be atomic; for
example, output data from other processes sharing the descriptor may be example, output data from other processes sharing the descriptor may be