[Top]
predef::
Stdio
Stdio.File
|
Method Stdio.File()->set_write_callback()
- Method
set_write_callback
-
void set_write_callback(function(mixed:void) write_cb)
- Description
-
This function sets the write_callback for the file. The
write_callback is called whenever there is buffer space
available to write to for the file.
The callback is called with the id of the file as argument.
- Note
-
This function does not set the file nonblocking.
- See also
-
set_nonblocking() , write() ,
query_write_callback() , set_read_callback() ,
set_close_callback() , set_read_oob_callback
set_write_oob_callback() , set_id()
|