RD(9r) RD(9r) NAME RD - STREAMS: Gets a pointer to a module's read queue SYNOPSIS #include <sys/stream.h> queue_t * RD( queue_t *queue_pointer ); ARGUMENTS Specifies a pointer to the write queue whose read queue is to be returned. The typedef queue_t is an alternate name for struct queue_entry *. DESCRIPTION The RD interface accepts a write queue pointer as an argument and returns a pointer to the read queue of the same module. CAUTIONS Make sure the queue_pointer argument is a pointer to a write queue. The RD interface does not check for queue type. A system panic could occur if queue_pointer is not a write queue. RETURN VALUES Upon successful completion, RD returns the pointer to the read queue. SEE ALSO Kernel Interfaces: WR(9r) RD(9r)[top]
Vote for polarhome |