diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-11 21:37:16 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-11 21:37:16 +0000 |
commit | a037fc9e6bc46f6ca0045234878e10605cbf66d8 (patch) | |
tree | 3732b7d1ac64e0be948ff019184a1042e4145778 /hurd/io_request.defs | |
parent | ac8314003c5c3c5580dc73fe8dcd9ddd00f67e4a (diff) |
2002-06-08 Roland McGrath <roland@frob.com>
* hurd_types.defs (loff_t, ino64_t): New types, 64 bits.
(off_t): Type removed.
(off_array_t): Use loff_t instead of off_t as base type.
* hurd_types.h (off_array_t): Likewise.
[_FILE_OFFSET_BITS != 64] (io_statbuf_t, fsys_statfsbuf_t): Define
using struct stat64/statfs64 instead of struct stat/statfs.
* io.defs (io_identity): Use ino64_t for FILENO.
* fs.defs (file_set_size): off_t -> loff_t
* fs_notify.defs (file_changed): Likewise.
* io.defs (io_write, io_read, io_seek): Likewise.
* io_request.defs: Likewise for those RPCs' *_request variants.
* io_reply.defs: Likewise for those RPCs' *_reply variants.
* hurd_types.defs (size_t): Remove type.
* fs.defs (dir_readdir): Use vm_size_t for AMOUNT.
* socket.defs (socket_send, socket_recv): Likewise.
* pfinet.defs (pfinet_siocgifconf): Likewise.
* io.defs (io_write, io_read, io_readable): Likewise.
* io_request.defs: Likewise for those RPCs' *_request variants.
* io_reply.defs: Likewise for those RPCs' *_reply variants.
Diffstat (limited to 'hurd/io_request.defs')
-rw-r--r-- | hurd/io_request.defs | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/hurd/io_request.defs b/hurd/io_request.defs index 366963f2..55a8a31b 100644 --- a/hurd/io_request.defs +++ b/hurd/io_request.defs @@ -1,5 +1,5 @@ /* Definitions for generic IO interface - Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation + Copyright (C) 1991,93,94,95,2002 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. -The GNU Hurd is distributed in the hope that it will be useful, +The GNU Hurd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -35,18 +35,18 @@ simpleroutine io_write_request ( io_object: io_t; reply: reply_port_t; data: data_t; - offset: off_t); + offset: loff_t); simpleroutine io_read_request ( io_object: io_t; reply: reply_port_t; - offset: off_t; - amount: int); + offset: loff_t; + amount: vm_size_t); simpleroutine io_seek_request ( io_object: io_t; reply: reply_port_t; - offset: off_t; + offset: loff_t; whence: int); simpleroutine io_readable_request ( @@ -160,7 +160,3 @@ simpleroutine io_readsleep_request ( simpleroutine io_sigio_request ( io_object: io_t; reply: reply_port_t); - - - - |