
While this isn't really POSIX, it's needed by the Zig port and was simple enough to implement.
18 lines
408 B
C
18 lines
408 B
C
/*
|
|
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <Kernel/API/POSIX/sys/uio.h>
|
|
#include <sys/cdefs.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
ssize_t writev(int fd, const struct iovec*, int iov_count);
|
|
ssize_t readv(int fd, const struct iovec*, int iov_count);
|
|
ssize_t pwritev(int fd, const struct iovec*, int iov_count, off_t);
|
|
|
|
__END_DECLS
|