PHP 매뉴얼
이전 |  | 다음

# dio_write

(PHP 4 >= 4.2.0, PHP 5)

dio_write -- Writes data to fd with optional truncation at length

## Description

int dio_write ( resource fd, string data [, int len])

The function dio_write() writes up to `len` bytes from `data` to file `fd`. If `len` is not specified, dio_write() writes all `data` to the specified file. dio_write() returns the number of bytes written to `fd`.

See also dio_read().

이전 | 처음으로 | 다음
dio_truncate | 위로 | 디렉토리 함수