Lines Matching refs:write
45 * Equivalent to the standard write() function except that is accepts a
47 * equivalent to write() except that in addition to the differences in
55 * filep - Instance of struct file to use with the write
56 * buf - Data to write
57 * nbytes - Length of data to write
77 /* Was this file opened for write access? */
85 /* Is a driver registered? Does it support the write method? */
87 if (!filep->ops || !filep->ops->write)
93 /* Yes, then let the driver perform the write */
95 ret = filep->ops->write(filep, (const char *)buf, nbytes);
110 * Name: write
113 * write() writes up to nytes bytes to the file referenced by the file
117 * fd - file descriptor (or socket descriptor) to write to
118 * buf - Data to write
119 * nbytes - Length of data to write
127 * Non-blocking I/O has been selected using O_NONBLOCK and the write
134 * An attempt was made to write a file that exceeds the implementation
136 * to write at a position past the maximum allowed offset.
152 * signal. (Thus, the write return value is seen only if the program
157 ssize_t write(int fd, const void *buf, size_t nbytes)
205 /* The descriptor is in the right range to be a file descriptor... write
240 /* Perform the write operation using the file descriptor as an index */