dio_write
dio_write
Writes data to fd with optional truncation at length
int **dio_write** resource $fd string $data int $len
writes up to
bytes from to file .
dio_write``len``data``fd
fd
The file descriptor returned by .
dio_open
dataThe written data.
lenThe length of data to write in bytes. If not specified, the
function writes all the data to the specified file.
Returns the number of bytes written to .
fd
dio_read