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

Function sys_accept4

freebsd/kern/uipc_syscalls.c:449–459  ·  view source on GitHub ↗
(td, uap)

Source from the content-addressed store, hash-verified

447}
448
449int
450sys_accept4(td, uap)
451 struct thread *td;
452 struct accept4_args *uap;
453{
454
455 if (uap->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK))
456 return (EINVAL);
457
458 return (accept1(td, uap->s, uap->name, uap->anamelen, uap->flags));
459}
460
461#ifdef COMPAT_OLDSOCK
462int

Callers

nothing calls this directly

Calls 1

accept1Function · 0.85

Tested by

no test coverage detected