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

Function ngctl_recvfrom

lib/ff_ngctl.c:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75static int
76ngctl_recvfrom(struct recvfrom_args *uap)
77{
78 int error = sys_recvfrom(curthread, uap);
79 if (error) {
80 ff_os_errno(error);
81 return (-1);
82 }
83 return curthread->td_retval[0];
84}
85
86static int
87ngctl_sendto(struct sendto_args *uap)

Callers 1

ff_ngctlFunction · 0.85

Calls 2

sys_recvfromFunction · 0.85
ff_os_errnoFunction · 0.85

Tested by

no test coverage detected