diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-14 19:38:47 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-14 19:58:11 +0200 |
commit | c9a5d83ccc278ba144431da9d75ab3ea6d50ef0c (patch) | |
tree | cdb1f036b5f0d5894e737f118e6ad0c3530742dc /Userland | |
parent | 37e98a55b7150f85284cac8b549b907fdb0e8031 (diff) | |
download | serenity-c9a5d83ccc278ba144431da9d75ab3ea6d50ef0c.zip |
Kernel+LibC: Share definitions for sys/uio.h
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibC/sys/uio.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Userland/Libraries/LibC/sys/uio.h b/Userland/Libraries/LibC/sys/uio.h index 13aa56b925..cdccba1e80 100644 --- a/Userland/Libraries/LibC/sys/uio.h +++ b/Userland/Libraries/LibC/sys/uio.h @@ -1,21 +1,15 @@ /* - * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> + * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once -#include <sys/cdefs.h> -#include <sys/types.h> +#include <Kernel/API/POSIX/sys/uio.h> __BEGIN_DECLS -struct iovec { - void* iov_base; - size_t iov_len; -}; - ssize_t writev(int fd, const struct iovec*, int iov_count); ssize_t readv(int fd, const struct iovec*, int iov_count); |