Lines Matching +full:write +full:- +full:to +full:- +full:write

13 .\"    may be used to endorse or promote products derived from this software
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 .Nm write ,
36 .Nd write output
42 .Fn write "int fd" "const void *buf" "size_t nbytes"
52 .Fn write
54 attempts to write
56 of data to the object referenced by the descriptor
58 from the buffer pointed to by
68 array: iov[0], iov[1], ..., iov[iovcnt\|-\|1].
74 perform the same functions, but write to the specified position in
85 .Bd -literal -offset indent -compact
99 will always write a complete area before proceeding
103 .Fn write
110 .Fn write ,
113 Objects that are not capable of seeking always write from the current
118 If the real user is not the super-user, then
119 .Fn write
120 clears the set-user-id bit on a file.
124 a writable set-user-id file
125 owned by the super-user.
127 When using non-blocking I/O on objects such as sockets that are subject
129 .Fn write
132 may write fewer bytes than requested;
138 Otherwise a -1 is returned and the global variable
140 is set to indicate the error.
143 .Fn write ,
150 .Bl -tag -width Er
157 An attempt is made to write to a pipe that is not open
160 An attempt is made to write to a socket of type
162 that is not connected to a peer socket.
164 An attempt was made to write a file that exceeds the process's
169 or data to be written to the file
182 An I/O error occurred while reading from or writing to the file system.
184 A signal interrupted the write before it could be completed.
186 The file was marked for non-blocking I/O,
189 An attempt was made to write over a disk label area at the beginning
204 is non-zero).
218 .Bl -tag -width Er
220 The destination is no longer available when writing to a
224 had been used to set a destination address.
229 was less than or equal to 0, or greater than
246 is non-zero).
248 The mbuf pool has been completely exhausted when writing to a socket.
256 .Bl -tag -width Er
272 .Fn write
273 system call is expected to conform to
274 .St -p1003.1-90 .
279 system calls are expected to conform to
280 .St -xpg4.2 .
295 .Fn write
303 is set, contrary to
304 .St -p1003.1-2008