MCPcopy Create free account
hub / github.com/davisking/dlib / make_fd_non_blocking

Function make_fd_non_blocking

dlib/matlab/subprocess_stream.cpp:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23// ----------------------------------------------------------------------------------------
24
25 void make_fd_non_blocking(int fd)
26 {
27 int flags = fcntl(fd, F_GETFL, 0);
28 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
29 }
30
31// ----------------------------------------------------------------------------------------
32

Callers 1

subprocess_streamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected