MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ngctl_close

Function ngctl_close

lib/ff_ngctl.c:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97static int
98ngctl_close(int sockfd)
99{
100 int error = kern_close(curthread, sockfd);
101 if (error) {
102 ff_os_errno(error);
103 return (-1);
104 }
105 return (error);
106}
107
108int
109ff_ngctl(int cmd, void *data)

Callers 1

ff_ngctlFunction · 0.85

Calls 2

kern_closeFunction · 0.85
ff_os_errnoFunction · 0.85

Tested by

no test coverage detected