mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Reduce build graph by another eight percent
This commit is contained in:
parent
367d06d9e4
commit
0ea0d33a77
249 changed files with 889 additions and 988 deletions
22
libc/sock/struct/msghdr.internal.h
Normal file
22
libc/sock/struct/msghdr.internal.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_INTERNAL_H_
|
||||
#define COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_INTERNAL_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct msghdr_bsd {
|
||||
void *msg_name;
|
||||
uint32_t msg_namelen;
|
||||
struct iovec *msg_iov;
|
||||
uint32_t msg_iovlen; /* « different type */
|
||||
void *msg_control;
|
||||
uint64_t msg_controllen;
|
||||
uint32_t msg_flags; /* « different type */
|
||||
};
|
||||
|
||||
ssize_t sys_sendmsg(int, const struct msghdr *, int) hidden;
|
||||
ssize_t sys_recvmsg(int, struct msghdr *, int) hidden;
|
||||
bool __asan_is_valid_msghdr(const struct msghdr *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_INTERNAL_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue