mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
fd: have iovec be inside fd.h
This commit is contained in:
@@ -35,6 +35,12 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
||||||
|
struct iovec {
|
||||||
|
void *iov_base;
|
||||||
|
size_t iov_len;
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uintmax_t refcount;
|
uintmax_t refcount;
|
||||||
vnode_t* node;
|
vnode_t* node;
|
||||||
|
|||||||
Reference in New Issue
Block a user