Sends a priority message on a stream.
int putpmsg (fd, ctlptr,
dataptr, band, flags)
struct strbuf * ctlptr;
struct strbuf * dataptr;
The putpmsg system call is identical to the putmsg system call except that it sends a priority message. All information except for flag settings are found in the description for the putmsg system call. The differences in the flag settings are noted in the error codes section.
|fd||Specifies a file descriptor referencing an open stream.|
|ctlptr||Holds the control part of the message.|
|dataptr||Holds the data part of the message.|
|band||Indicates the priority band.|
|flags||Indicates the priority type of message to be sent. Acceptable values are:|
The putpmsg system call is unsuccessful under the following conditions:
This system call is part of STREAMS Kernel Extensions.
The poll subroutine, read subroutine, write subroutine.
The getmsg system call, getpmsg system call, putmsg system call.
List of Streams Programming References and STREAMS Overview in AIX 5L Version 5.1 Communications Programming Concepts, and X/OPEN Common Application Environment (CAE) Specification: System Interfaces and Headers, Issue 5 (2/97).