diff options
author | Roland McGrath <roland@gnu.org> | 2002-01-02 05:42:35 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-01-02 05:42:35 +0000 |
commit | 34d621185d6dadae816068bedede89570bf2d88b (patch) | |
tree | 520ba350c06f81da72af8c33c3b38716f99e284c /hurd/io.defs | |
parent | 4150ae60652cd80ea8a4ed56b284a8198ce95d34 (diff) |
2002-01-01 Roland McGrath <roland@frob.com>
* io.defs (io_write, io_read, io_readable): Use size_t in place
of mach_msg_type_number_t.
* socket.defs (socket_send, socket_recv): Likewise.
Diffstat (limited to 'hurd/io.defs')
-rw-r--r-- | hurd/io.defs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/hurd/io.defs b/hurd/io.defs index 75a8f58b..dd4bb8db 100644 --- a/hurd/io.defs +++ b/hurd/io.defs @@ -1,5 +1,5 @@ /* Definitions for generic IO interface - Copyright (C) 1991, 1993, 1994, 1995, 1996, 1999 Free Software Foundation, Inc. + Copyright (C) 1991,93,94,95,96,99,2001 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -44,7 +44,7 @@ routine io_write ( RPT data: data_t SCP; offset: off_t; - out amount: mach_msg_type_number_t); + out amount: size_t); /* Read data from an IO object. If offset if -1, read from the object maintained file pointer. If the object is not seekable, offset is @@ -54,7 +54,7 @@ routine io_read ( RPT out data: data_t, dealloc; offset: off_t; - amount: mach_msg_type_number_t); + amount: size_t); /* Change current read/write offset */ routine io_seek ( @@ -70,7 +70,7 @@ routine io_seek ( routine io_readable ( io_object: io_t; RPT - out amount: mach_msg_type_number_t); + out amount: size_t); /* These four routines modify the O_APPEND, O_ASYNC, O_FSYNC, and O_NONBLOCK bits for the IO object. In addition, io_get_openmodes @@ -322,4 +322,3 @@ routine io_identity ( on the specified object. */ routine io_revoke ( io_object: io_t RPTLAST); - |