vibe.d beta banner
get vibe.d
0.8.6

Asynchronous I/O that doesn’t get in your way, written in D

Function EventDriverPipes.adopt

Adopt an existing pipe. This will modify the pipe to be non-blocking.

abstract PipeFD adopt (
  int system_pipe_handle
) nothrow @safe;

Note that pipes generally only allow either reads or writes but not both, it is up to you to only call valid functions.

Authors
Copyright
License