mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add struct iovec to sys/socket.h.
This commit is contained in:
parent
5933ac5210
commit
bae68066eb
1 changed files with 6 additions and 3 deletions
|
@ -29,7 +29,6 @@
|
|||
|
||||
#include <sys/__/types.h>
|
||||
|
||||
/* TODO: #include <sys/uio.h> */
|
||||
#include <sortix/socket.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
@ -39,6 +38,12 @@ __BEGIN_DECLS
|
|||
@include(ssize_t.h)
|
||||
@include(sa_family_t.h)
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#include <sortix/uio.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
struct sockaddr
|
||||
{
|
||||
sa_family_t sa_family;
|
||||
|
@ -55,8 +60,6 @@ struct sockaddr_storage
|
|||
char __ss_padding[_SS_PADSIZE];
|
||||
};
|
||||
|
||||
/* TODO: struct iovec from <sys/uio.h> */
|
||||
|
||||
struct msghdr
|
||||
{
|
||||
void* msg_name;
|
||||
|
|
Loading…
Reference in a new issue