MCPcopy Create free account
hub / github.com/Kitware/CMake / kwsysProcessSetNonBlocking

Function kwsysProcessSetNonBlocking

Source/kwsys/ProcessUNIX.c:1697–1704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1695}
1696
1697static int kwsysProcessSetNonBlocking(int fd)
1698{
1699 int flags = fcntl(fd, F_GETFL);
1700 if (flags >= 0) {
1701 flags = fcntl(fd, F_SETFL, flags | O_NONBLOCK);
1702 }
1703 return flags >= 0;
1704}
1705
1706#if defined(__VMS)
1707int decc$set_child_standard_streams(int fd1, int fd2, int fd3);

Callers 2

kwsysProcess_ExecuteFunction · 0.85
kwsysProcessesAddFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…