|
|
1.1 ! root 1: .ds ZZ DEVELOPMENT PACKAGE ! 2: .TH PRINTQ 3R "630 MTG" ! 3: .XE "printqempty()" ! 4: .XE "printqspace()" ! 5: .XE "printqclear()" ! 6: .SH NAME ! 7: printq: printqempty, printqspace, printqclear \- printer queue management ! 8: .SH SYNOPSIS ! 9: .B int printqempty ( ) ! 10: .sp ! 11: .B int printqspace ( ) ! 12: .sp ! 13: .B void printqclear ( ) ! 14: .sp ! 15: .SH DESCRIPTION ! 16: Between terminal processes and the printer is a queue used ! 17: for buffering characters being sent to the printer. ! 18: The ! 19: .I printqempty ! 20: function ! 21: returns 1 if this queue is empty. ! 22: Otherwise, 0 is returned. ! 23: .P ! 24: The ! 25: .I printqspace ! 26: function ! 27: returns the number of characters that can be added to the queue before ! 28: it fills. A full buffer affects the way the ! 29: .I psendchar ! 30: function operates. ! 31: .P ! 32: The ! 33: .I printqclear ! 34: function ! 35: removes all the characters currently in the queue. ! 36: This prevents them from going to the printer. ! 37: This routine clears the queue only if the printer is owned. ! 38: .P ! 39: If the printer is not owned, ! 40: .I printqempty ! 41: returns 1 and ! 42: .I printqspace ! 43: returns 0. ! 44: .SH SEE ALSO ! 45: psendchar(3R), resources(3R).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.