From f02dd4d2d5b8347a06381829f04d9e60d568748f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 9 Mar 1994 21:29:13 +0000 Subject: Formerly shared.h.~17~ --- hurd/shared.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'hurd') 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; -- cgit v1.2.3