summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/sys/uio.h
blob: 9ed1549f3f8a4bc096aff6f925170fd12bd736aa (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
26
#ifndef _SYS_UIO_H
#define _SYS_UIO_H

#include <sys/types.h>

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Per POSIX
 */

struct iovec {
  void   *iov_base;
  size_t  iov_len;
};

ssize_t readv(int, const struct iovec *, int);
ssize_t writev(int, const struct iovec *, int);

#ifdef __cplusplus
};
#endif

#endif