(PHP 4 >= 4.2.0, PHP 5 < 5.1.0)
dio_write — 將資料寫入 fd,並可選擇在指定長度截斷
$fd
$data
$len
dio_write() 會將最多 len 個位元組從 data 寫入檔案 fd。
len
data
fd
由 dio_open() 返回的檔案描述符。
要寫入的資料。
要寫入的資料長度,以位元組為單位。如果未指定,則函式會將所有資料寫入指定的檔案。
返回寫入 fd 的位元組數。