1 |
/* Definitions for socket interface |
/* Definitions for socket interface |
2 |
Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation |
Copyright (C) 1991,93,94,95,2001 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
5 |
|
|
8 |
the Free Software Foundation; either version 2, or (at your option) |
the Free Software Foundation; either version 2, or (at your option) |
9 |
any later version. |
any later version. |
10 |
|
|
11 |
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, |
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
GNU General Public License for more details. |
GNU General Public License for more details. |
122 |
data: data_t SCP; |
data: data_t SCP; |
123 |
ports: portarray_t SCP; |
ports: portarray_t SCP; |
124 |
control: data_t SCP; |
control: data_t SCP; |
125 |
out amount: mach_msg_type_number_t); |
out amount: size_t); |
126 |
|
|
127 |
/* Receive data from a socket, possibly including Mach ports. */ |
/* Receive data from a socket, possibly including Mach ports. */ |
128 |
routine socket_recv ( |
routine socket_recv ( |
133 |
out ports: portarray_t, dealloc; |
out ports: portarray_t, dealloc; |
134 |
out control: data_t, dealloc; |
out control: data_t, dealloc; |
135 |
out outflags: int; |
out outflags: int; |
136 |
amount: mach_msg_type_number_t); |
amount: size_t); |