STREAMS Programming Guide

Appendix B STREAMS Utilities

Kernel Utility Interface Summary

ROUTINE 

DESCRIPTION 

adjmsg(9F)

trim bytes in a message 

allocb(9F)

allocate a message block 

backq(9F)

get pointer to the queue behind a given queue 

bcanput(9F)

test for flow control in a given priority band  

bufcall(9F)

recover from failure of allocb(9F)

canput(9F)

test for room in a queue  

copyb(9F)

copy a message block 

copymsg(9F)

copy a message 

datamsg(9F)

test whether message is a data message 

dupb(9F)

duplicate a message block descriptor 

dupmsg(9F)

duplicate a message 

enableok(9F)

re-allow a queue to be scheduled for service 

esballoc(9F)

allocate message and data blocks 

flushband(9F)

flush messages in a given priority band  

flushq(9F)

flush a queue 

freeb(9F)

free a message block 

freemsg(9F)

free all message blocks in a message 

freezestr(9F)

disable changes to the state of the stream 

getq(9F)

get a message from a queue 

insq(9F)

put a message at a specific place in a queue 

linkb(9F)

concatenate two messages into one 

msgdsize(9F)

get the number of data bytes in a message 

noenable(9F)

prevent a queue from being scheduled 

otherq(9F)

get pointer to the mate queue 

pullupmsg(9F)

concatenate and align bytes in a message 

putbq(9F)

return a message to the beginning of a queue 

putctl(9F)

put a control message  

putctl1(9F)

put a control message with a one-byte parameter 

putnext(9F)

put a message to the next queue

putq(9F)

put a message on a queue 

qbufcall(9F)

call a function when a buffer becomes available 

qprocsoff(9F)

turn off queue processing 

qprocson(9F)

turn on queue processing 

qreply(9F)

send a message on a Stream in the reverse direction 

qsize(9F)

find the number of messages on a queue 

qtimeout(9F)

execute a function after a specified length of time  

qunbufcall(9F)

cancel a pending qbufcall(9F) request

quntimeout(9F)

cancel a pending qtimeout request 

qwait(9F)

perimeter wait routine 

qwait_sig(9F)

perimeter wait routine 

qwriter(9F)

asynchronous perimeter upgrade 

RD(9F)

get pointer to the read queue 

rmvb(9F)

remove a message block from a message 

rmvq(9F)

remove a message from a queue 

strlog(9F)

submit messages for logging 

strqget(9F)

obtain information on a queue or a band of the queue 

strqset(9F)

change information on a queue or a band of the queue 

testb(9F)

check for an available buffer 

unbufcall(9F)

cancel bufcall(9F) request

unfreezestr(9F)

enable changes to the state of the stream 

unlinkb(9F)

remove a message block from the head of a message  

WR(9F)

get pointer to the write queue