[Top]
Stdio
Stdio.File
|
Method Stdio.File()->set_close_callback()
- Method
set_close_callback
void Stdio.File()->set_close_callback(function(mixed:void) close_cb)
- Description
-
This function sets the close_callback for the file. The
close callback is called when the remote end of a socket or
pipe is closed.
- Note
This function does not set the file nonblocking.
- See also
Stdio.File.set_nonblocking, Stdio.File.close
Stdio.File.query_close_callback, Stdio.File.set_read_callback,
Stdio.File.set_write_callback
|