summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-03-09 21:29:13 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-03-09 21:29:13 +0000
commitf02dd4d2d5b8347a06381829f04d9e60d568748f (patch)
tree9ff0875080e7efc867a5e7b60dceb700327a09a3 /hurd
parent393ba50e427dc5d782e39dc21788f39e4bef92f4 (diff)
Formerly shared.h.~17~
Diffstat (limited to 'hurd')
-rw-r--r--hurd/shared.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/hurd/shared.h b/hurd/shared.h
index 19e3ac55..b74ec003 100644
--- a/hurd/shared.h
+++ b/hurd/shared.h
@@ -1,5 +1,5 @@
/* Definitions for shared IO control pages
- Copyright (C) 1992, 1993 Free Software Foundation
+ Copyright (C) 1992, 1993, 1994 Free Software Foundation
This file is part of the GNU Hurd.
@@ -78,8 +78,12 @@ struct shared_io
/* These are set by both the IO server and the user: */
- /* These have meanings just like io_map; -1 is used to indicate an
- impossible value. */
+ /* If the read and write objects returned by io_map are the same,
+ then use the xx_file_pointer for read, write, and seek. If the
+ read and write objects are not the same, then use the
+ rd_file_pointer for read and the wr_file_pointer for write.
+ Normally in this case the seekable value will be false.
+ The unused file pointers will be set to -1 by the I/O server. */
off_t rd_file_pointer;
off_t wr_file_pointer;
off_t xx_file_pointer;