diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man3/iread.3 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/unix-v10/man3/iread.3')
| -rw-r--r-- | static/unix-v10/man3/iread.3 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/static/unix-v10/man3/iread.3 b/static/unix-v10/man3/iread.3 new file mode 100644 index 00000000..637f0752 --- /dev/null +++ b/static/unix-v10/man3/iread.3 @@ -0,0 +1,35 @@ +.TH IREAD 3 +.SH NAME +iread \- insistent read +.SH SYNOPSIS +.B read(fildes, buf, n) +.B char *buf; +.SH DESCRIPTION +.I Iread, +like +.IR read (1), +reads +.I n +bytes from the file associated with the given file descriptor +into the block of store beginning at +.I buf. +.I Iread, +however, always places exactly +.I n +bytes in +.I buf, +unless +.I read +would return 0. +.PP +.I Iread +returns the number of bytes placed in +.I buf, +which is an integer in the range +.RI 0- n. +.SH DIAGNOSTICS +.I Iread +returns \-1 for an error; see +.IR read (1). +.SH SEE ALSO +read(2) |
