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

Function ff_set_proc_id

tools/compat/ff_ipc.c:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42uint16_t ff_proc_id = 0;
43
44void
45ff_set_proc_id(int pid)
46{
47 if (pid < 0 || pid > 65535) {
48 printf("Invalid F-Stack proccess id\n");
49 exit(1);
50 }
51 ff_proc_id = pid;
52}
53
54int
55ff_ipc_init(void)

Callers 11

sysctl.cFile · 0.85
mainFunction · 0.85
main.cFile · 0.85
mainFunction · 0.85
mainFunction · 0.85
route.cFile · 0.85
main.cFile · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
main.cFile · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected