summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/alpha-osf1/uio.h
blob: 8d494672ee408064f98c83adb1becdd176e594a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* N.B.:  The Alpha, under OSF/1, does *not* use size_t for the length,
   or for the returned values from readv and writev.  */

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

/* I'm assuming the iovec structures are const.  I haven't verified
   it.  */
extern ssize_t readv (int, const struct iovec *, int);
extern ssize_t writev (int, const struct iovec *, int);