flushband - flush messages for a specified priority band
#include <sys/stream.h> void flushband(queue_t *q, unsigned char pri, int flag);
Architecture independent level 1 (DDI/DKI).
q
pri
flag
FLUSHDATA
FLUSHALL
The flushband() function flushes messages associated with the priority band specified by pri. If pri is 0, only normal and high priority messages are flushed. Otherwise, messages are flushed from the band pri according to the value of flag.
The flushband() function can be called from user, interrupt, or kernel context.
flushq(9F)
Writing Device Drivers STREAMS Programming Guide
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |