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

Function sys_writev

freebsd/kern/sys_generic.c:469–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467};
468#endif
469int
470sys_writev(struct thread *td, struct writev_args *uap)
471{
472 struct uio *auio;
473 int error;
474
475 error = copyinuio(uap->iovp, uap->iovcnt, &auio);
476 if (error)
477 return (error);
478 error = kern_writev(td, uap->fd, auio);
479 free(auio, M_IOV);
480 return (error);
481}
482
483int
484kern_writev(struct thread *td, int fd, struct uio *auio)

Callers

nothing calls this directly

Calls 3

kern_writevFunction · 0.85
copyinuioFunction · 0.70
freeFunction · 0.70

Tested by

no test coverage detected