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 | 上一層 | Directory Functions