blob: be8922ef4f7959b3cbb3c3ac56659f77e4637aff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <Kernel/API/POSIX/sys/types.h>
#ifdef __cplusplus
extern "C" {
#endif
// Arbitrary pain threshold.
#define IOV_MAX 1024
struct iovec {
void* iov_base;
size_t iov_len;
};
#ifdef __cplusplus
}
#endif
|