xref: /third_party/musl/src/unistd/preadv.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/unistd/
1570af302Sopenharmony_ci#define _BSD_SOURCE
2570af302Sopenharmony_ci#include <sys/uio.h>
3570af302Sopenharmony_ci#include <unistd.h>
4570af302Sopenharmony_ci#include "syscall.h"
5570af302Sopenharmony_ci
6570af302Sopenharmony_cissize_t preadv(int fd, const struct iovec *iov, int count, off_t ofs)
7570af302Sopenharmony_ci{
8570af302Sopenharmony_ci	return syscall_cp(SYS_preadv, fd, iov, count,
9570af302Sopenharmony_ci		(long)(ofs), (long)(ofs>>32));
10570af302Sopenharmony_ci}
11570af302Sopenharmony_ci
12570af302Sopenharmony_ciweak_alias(preadv, preadv64);
13

Indexes created Thu Nov 07 10:32:03 CST 2024