MCPcopy Index your code
hub / github.com/F-Stack/f-stack / ff_close

Function ff_close

lib/ff_syscall_wrapper.c:1058–1070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1056}
1057
1058int
1059ff_close(int fd)
1060{
1061 int rc;
1062
1063 if ((rc = kern_close(curthread, fd)))
1064 goto kern_fail;
1065
1066 return (rc);
1067kern_fail:
1068 ff_os_errno(rc);
1069 return (-1);
1070}
1071
1072ssize_t
1073ff_read(int fd, void *buf, size_t nbytes)

Callers 10

loopFunction · 0.85
loopFunction · 0.85
loopFunction · 0.85
handle_ioctl_msgFunction · 0.85
handle_ipfw_msgFunction · 0.85
ff_ipfw_add_simple_v4Function · 0.85
closeFunction · 0.85
closeFunction · 0.85
ff_sys_closeFunction · 0.85
ff_hook_closeFunction · 0.85

Calls 2

kern_closeFunction · 0.85
ff_os_errnoFunction · 0.85

Tested by

no test coverage detected