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

Function ngctl_socket

lib/ff_ngctl.c:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#include "ff_host_interface.h"
39
40static int
41ngctl_socket(struct socket_args *uap)
42{
43 int error = sys_socket(curthread, uap);
44 if (error) {
45 ff_os_errno(error);
46 return -1;
47 }
48 return curthread->td_retval[0];
49}
50
51static int
52ngctl_connect(struct connect_args *uap)

Callers 1

ff_ngctlFunction · 0.85

Calls 2

sys_socketFunction · 0.85
ff_os_errnoFunction · 0.85

Tested by

no test coverage detected