| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Stdio
Stdio.File

# Method Stdio.File()->set_backend()

Method set_backend

  `void set_backend(Pike.Backend backend)`

Description

  Set the backend used for the callbacks.

Note

  The backend keeps a reference to this object only when it is in callback mode. So if this object hasn't got any active callbacks and it runs out of other references, it will still be destructed quickly (after closing, if necessary).

  Also, this object does not keep a reference to the backend.

See also

  query_backend , set_nonblocking , set_read_callback , set_write_callback