uio.h 636 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef __SYS_UIO_H__
  2. #define __SYS_UIO_H__
  3. #ifndef _BSD_EXTENSION
  4. This header file is an extension to ANSI/POSIX
  5. #endif
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. #pragma lib "/$M/lib/ape/libbsd.a"
  10. /*
  11. * Copyright (c) 1982, 1986 Regents of the University of California.
  12. * All rights reserved. The Berkeley software License Agreement
  13. * specifies the terms and conditions for redistribution.
  14. *
  15. * @(#)uio.h 7.1 (Berkeley) 6/4/86
  16. */
  17. struct iovec {
  18. char *iov_base;
  19. int iov_len;
  20. };
  21. extern int writev(int, struct iovec*, int);
  22. extern int readv(int, struct iovec*, int);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* !__SYS_UIO_H__ */