MCPcopy Create free account
hub / github.com/ElementsProject/lightning / closefrom

Function closefrom

ccan/ccan/closefrom/closefrom.c:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include <fcntl.h>
27
28void closefrom(int fromfd)
29{
30 (void) fcntl(fromfd, F_CLOSEM, 0);
31}
32
33bool closefrom_may_be_slow(void)
34{

Callers 7

websocket_connection_inFunction · 0.85
pipecmdarrFunction · 0.85
pipe_closeFunction · 0.85
fork_closeFunction · 0.85
fork_communicateFunction · 0.85
subdFunction · 0.85
mainFunction · 0.85

Calls 1

try_opendirFunction · 0.85

Tested by 3

pipe_closeFunction · 0.68
fork_closeFunction · 0.68
fork_communicateFunction · 0.68