summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/hpux-9.03/uio.h
diff options
context:
space:
mode:
Diffstat (limited to 'mit-pthreads/machdep/hpux-9.03/uio.h')
-rwxr-xr-xmit-pthreads/machdep/hpux-9.03/uio.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/hpux-9.03/uio.h b/mit-pthreads/machdep/hpux-9.03/uio.h
new file mode 100755
index 00000000000..d1ec4c94f22
--- /dev/null
+++ b/mit-pthreads/machdep/hpux-9.03/uio.h
@@ -0,0 +1,25 @@
+/* ==== uio.h ============================================================
+ * Copyright (c) 1994 by Chris Provenzano, proven@athena.mit.edu
+ *
+ * Description : Correct HP-UX header file.
+ */
+
+#ifndef _PTHREAD_UIO_H_
+#define _PTHREAD_UIO_H_
+
+#include <sys/cdefs.h>
+
+struct iovec {
+ void *iov_base;
+ size_t iov_len;
+};
+
+__BEGIN_DECLS
+
+int readv __P_((int, const struct iovec *, int));
+int writev __P_((int, const struct iovec *, int));
+
+__END_DECLS
+
+#endif
+