|
|
1.1 root 1: .TH IREAD 3
2: .SH NAME
3: iread \- insistent read
4: .SH SYNOPSIS
5: .B read(fildes, buf, n)
6: .B char *buf;
7: .SH DESCRIPTION
8: .I Iread,
9: like
10: .IR read (1),
11: reads
12: .I n
13: bytes from the file associated with the given file descriptor
14: into the block of store beginning at
15: .I buf.
16: .I Iread,
17: however, always places exactly
18: .I n
19: bytes in
20: .I buf,
21: unless
22: .I read
23: would return 0.
24: .PP
25: .I Iread
26: returns the number of bytes placed in
27: .I buf,
28: which is an integer in the range
29: .RI 0- n.
30: .SH DIAGNOSTICS
31: .I Iread
32: returns \-1 for an error; see
33: .IR read (1).
34: .SH SEE ALSO
35: read(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.