Go to the previous, next section.

write

SYNOPSIS

size_t write(int fd, const char *buf, size_t count);

PARAMETERS

fd: [in] the file descriptor to read from.

buf: [out] the buffer where to store the data read.

count: [in] the maximum count of bytes to read.

DESCRIPTION

Read up to count bytes form fd.

RETURN VALUE

On success, the number of bytes read. On error, returns -1 and sets errno to one of the following values:

Go to the previous, next section.