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

Function osend

freebsd/kern/uipc_syscalls.c:851–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849
850#ifdef COMPAT_OLDSOCK
851int
852osend(struct thread *td, struct osend_args *uap)
853{
854 struct msghdr msg;
855 struct iovec aiov;
856
857 msg.msg_name = 0;
858 msg.msg_namelen = 0;
859 msg.msg_iov = &aiov;
860 msg.msg_iovlen = 1;
861 aiov.iov_base = __DECONST(void *, uap->buf);
862 aiov.iov_len = uap->len;
863 msg.msg_control = 0;
864 msg.msg_flags = 0;
865 return (sendit(td, uap->s, &msg, uap->flags));
866}
867
868int
869osendmsg(struct thread *td, struct osendmsg_args *uap)

Callers

nothing calls this directly

Calls 1

senditFunction · 0.85

Tested by

no test coverage detected