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

Function mqinit

freebsd/kern/uipc_mqueue.c:2891–2905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2889#endif
2890
2891static int
2892mqinit(void)
2893{
2894 int error;
2895
2896 error = syscall_helper_register(mq_syscalls, SY_THR_STATIC_KLD);
2897 if (error != 0)
2898 return (error);
2899#ifdef COMPAT_FREEBSD32
2900 error = syscall32_helper_register(mq32_syscalls, SY_THR_STATIC_KLD);
2901 if (error != 0)
2902 return (error);
2903#endif
2904 return (0);
2905}
2906
2907static int
2908mqunload(void)

Callers 1

mq_modloadFunction · 0.85

Calls 1

syscall_helper_registerFunction · 0.85

Tested by

no test coverage detected