diff options
author | Roland McGrath <roland@gnu.org> | 1994-07-08 19:34:36 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-07-08 19:34:36 +0000 |
commit | 3f8525378065f847bf86a2bce2365c6a226f9458 (patch) | |
tree | b01a190900cf60810c1fce7c9450368f755523f6 | |
parent | 6d1be64c575c58038521fc9ff48bbad3701bdf13 (diff) |
Formerly socket.defs.~23~
-rw-r--r-- | hurd/socket.defs | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/hurd/socket.defs b/hurd/socket.defs index b3027ecd..e422c2d3 100644 --- a/hurd/socket.defs +++ b/hurd/socket.defs @@ -42,17 +42,15 @@ routine socket_listen ( queue_limit: int); /* Return a new connection from a socket previously listened. */ -/* INTR */ -routine socket_accept ( +INTR_ROUTINE (socket_accept, ( sock: socket_t; out conn_sock: mach_port_send_t; - out peer_addr: mach_port_send_t); + out peer_addr: mach_port_send_t)) /* Connect to an address. */ -/* INTR */ -routine socket_connect ( +INTR_ROUTINE (socket_connect, ( sock: socket_t; - addr: addr_port_t); + addr: addr_port_t)) /* Bind a socket to an address. */ routine socket_bind ( @@ -115,19 +113,17 @@ routine socket_setopt ( optval: data_t); /* Send data over a socket, possibly including Mach ports. */ -/* INTR */ -routine socket_send ( +INTR_ROUTINE (socket_send, ( sock: socket_t; addr: addr_port_t; flags: int; data: data_t; ports: portarray_t; control: data_t; - out amount: int); + out amount: int)) /* Receive data from a socket, possibly including Mach ports. */ -/* INTR */ -routine socket_recv ( +INTR_ROUTINE (socket_recv, ( sock: socket_t; out addr: addr_port_t; flags: int; @@ -135,4 +131,4 @@ routine socket_recv ( out ports: portarray_t; out control: data_t; out outflags: int; - amount: int); + amount: int)) |