Lines Matching defs:queue
80 static int touch(struct queue *);
285 struct dirent **queue;
299 nitems = scandir(SD, &queue, doselect, sortq);
309 cp = queue[i]->d_name;
313 cp1 = queue[i + 1]->d_name;
694 * Print the status of each queue listed or all the queues.
725 * Print the status of the printer queue.
853 struct queue **queue;
858 * Put the specified jobs at the top of printer queue.
886 nitems = getq(&queue);
890 mtime = queue[0]->q_time;
893 printf("\tjob %s is not in the queue\n", argv[i]);
899 free(queue[i]);
900 free(queue);
907 * get lpd to rebuild the queue after the current job.
922 touch(struct queue *q)
936 * Checks if specified job name is in the printer's queue.
937 * Returns: negative (-1) if argument name is not in the queue.
942 struct queue **qq;
968 for (qq = queue + nitems; --qq >= queue; ) {
988 for (qq = queue + nitems; --qq >= queue; ) {