Annotation of researchv9/jerq/include/queue.h, revision 1.1.1.1

1.1       root        1: #define        QUEUE_H
                      2: #define        NCHARS  2560
                      3: #define NULL ((char *)0)
                      4: 
                      5: #define        STOPPED         1
                      6: #define        QPRIORITY       2
                      7: 
                      8: struct clist {
                      9:        long    c_tail;
                     10:        long    c_head;
                     11:        short   c_cc;
                     12:        short   state;
                     13: };
                     14: 
                     15: #ifdef QUEUE_C
                     16: short  cbuf_next[NCHARS];
                     17: char   cbuf_word[NCHARS];
                     18: struct clist queues[3];
                     19: int freelist, freemark;
                     20: #else
                     21: extern short   cbuf_next[NCHARS];
                     22: extern char    cbuf_word[NCHARS];
                     23: extern struct clist queues[3];
                     24: extern int freelist, freemark;
                     25: #endif
                     26: 
                     27: #define        RCVQUEUE        queues[0]       /* chars from host */
                     28: #define        KBDQUEUE        queues[1]       /* chars from keyboard */
                     29: #define        OUTQUEUE        queues[2]       /* chars to send to host */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.