IUCV_RECEIVE
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
iucv_receive -
SYNOPSIS
"SYNOPSIS"
int iucv_receive (__u16 pathid, __u32 msgid, __u32 trgcls, void * buffer, ulong buflen, int * flags1_out, ulong * residual_buffer, ulong * residual_length);
ARGUMENTS
- pathid
-
Path identification number.
- msgid
-
Specifies the message ID.
- trgcls
-
Specifies target class.
- buffer
-
Address of buffer to receive. Must be below 2G.
- buflen
-
Length of buffer to receive.
- flags1_out
-
Receives options for path on return.
- IPNORPY (0x10) Specifies whether a reply is required
- IPPRTY (0x20) Specifies if you want to send priority message
- IPRMDATA (0x80) Specifies the data is contained in the parameter list
- residual_buffer
-
Receives the address of buffer updated by the number
of bytes you have received on return.
- residual_length
-
On return, receives one of the following values:
- 0 If the receive buffer is the same length as
the message.
- Remaining bytes in buffer If the receive buffer is longer than the
message.
- Remaining bytes in message If the receive buffer is shorter than the
message.
DESCRIPTION
This function receives messages that are being sent to you over established
paths.
RETURNS
return code from CP IUCV call; If the receive buffer is shorter
than the message, always 5
-EINVAL - buffer address is pointing to NULL
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- RETURNS
-
This document was created by
man2html,
using the manual pages.
Time: 07:07:12 GMT, October 06, 2005