Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
28
void closefrom(int fromfd)
29
{
30
(void) fcntl(fromfd, F_CLOSEM, 0);
31
}
32
33
bool closefrom_may_be_slow(void)
34
{
Callers
7
websocket_connection_in
Function · 0.85
pipecmdarr
Function · 0.85
pipe_close
Function · 0.85
fork_close
Function · 0.85
fork_communicate
Function · 0.85
subd
Function · 0.85
main
Function · 0.85
Calls
1
try_opendir
Function · 0.85
Tested by
3
pipe_close
Function · 0.68
fork_close
Function · 0.68
fork_communicate
Function · 0.68