[Top]
Stdio
Stdio.File
|
Method Stdio.File()->set_read_callback()
- Method
set_read_callback
void Stdio.File()->set_read_callback(function(mixed:void) read_cb)
- Description
-
This function sets the read_callback for the file. The
read_callback is called whenever there is data to read from
the file.
- Note
This function does not set the file nonblocking.
- See also
Stdio.File.set_nonblocking, read(),
Stdio.File.query_read_callback, Stdio.File.set_write_callback,
Stdio.File.set_close_callback, Stdio.File.set_read_oob_callback
Stdio.File.set_write_oob_callback
|