Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

enableok(9r) [osf1 man page]

enableok(9r)															      enableok(9r)

NAME
enableok - STREAMS: Enables a queue for service SYNOPSIS
#include <sys/stream.h> void enableok( queue_t *queue_pointer ); ARGUMENTS
Specifies a pointer to the queue to be rescheduled. The typedef queue_t is an alternate name for struct queue_entry *. DESCRIPTION
The enableok interface allows the queue associated with the queue_pointer argument to be rescheduled for service. The interface cancels the effect of a previous call to the noenable interface on the queue by turning off the QNOENB flag in the queue. RETURN VALUES
None SEE ALSO
Kernel Interfaces: noenable(9r), qenable(9r) Programmer's Guide: STREAMS enableok(9r)

Check Out this Related Man Page

insq(9r)																  insq(9r)

NAME
insq - STREAMS: Inserts a STREAMS message into a queue SYNOPSIS
#include <sys/stream.h> int insq( queue_t *message_queue, MBLKP message, MBLKP message_to_be_inserted ); ARGUMENTS
Specifies a pointer to the message queue that contains the message passed to the message argument. The typedef queue_t is an alternate name for struct queue_entry *. Specifies the enqueued message before which the new message is to be inserted. The typedef MBLKP is an alternate name for typedef struct msgb *. Specifies the message to be inserted. The typedef MBLKP is an alternate name for typedef struct msgb *. DESCRIPTION
The insq interface inserts a STREAMS message into a queue. The message to be inserted (the message_to_be_inserted argument) is placed in the queue (the message_queue argument) immediately before the message associated with the message argument. If the message argument is NULL, insq places the new message at the end of the queue. The interface ignores the queue class of the new message and it updates all flow-control parameters. The insq interface also enables the service procedure unless the QNOENB flag bit is set. CAUTIONS
If the message argument is non-NULL, it must point to a message on the queue or a system panic could occur. RETURN VALUES
Upon successful completion, insq returns the value 1. On failure, it returns the value zero(0). SEE ALSO
Programmer's Guide: STREAMS insq(9r)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies