Restore the "GPL licensing not permitted" in GLUT license headers.
[haiku.git] / headers / posix / sys / uio.h
blob2e637e40f3a0d0ee2ca1ec3271674fac66520b79
1 /*
2 * Copyright 2002-2012 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _SYS_UIO_H
6 #define _SYS_UIO_H
9 #include <sys/types.h>
12 typedef struct iovec {
13 void *iov_base;
14 size_t iov_len;
15 } iovec;
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
22 ssize_t readv(int fd, const struct iovec *vector, size_t count);
23 ssize_t readv_pos(int fd, off_t pos, const struct iovec *vec, size_t count);
24 ssize_t writev(int fd, const struct iovec *vector, size_t count);
25 ssize_t writev_pos(int fd, off_t pos, const struct iovec *vec, size_t count);
27 #ifdef __cplusplus
29 #endif
31 #endif /* _SYS_UIO_H */