Annotation of 3BSD/sys/h/conf.h, revision 1.1

1.1     ! root        1: /*     conf.h  2.1     1/5/80 */
        !             2: 
        !             3: /*
        !             4:  * Declaration of block device
        !             5:  * switch. Each entry (row) is
        !             6:  * the only link between the
        !             7:  * main unix code and the driver.
        !             8:  * The initialization of the
        !             9:  * device switches is in the
        !            10:  * file conf.c.
        !            11:  */
        !            12: extern struct bdevsw
        !            13: {
        !            14:        int     (*d_open)();
        !            15:        int     (*d_close)();
        !            16:        int     (*d_strategy)();
        !            17:        struct buf *d_tab;
        !            18: } bdevsw[];
        !            19: 
        !            20: /*
        !            21:  * Character device switch.
        !            22:  */
        !            23: extern struct cdevsw
        !            24: {
        !            25:        int     (*d_open)();
        !            26:        int     (*d_close)();
        !            27:        int     (*d_read)();
        !            28:        int     (*d_write)();
        !            29:        int     (*d_ioctl)();
        !            30:        int     (*d_stop)();
        !            31:        struct tty *d_ttys;
        !            32: } cdevsw[];
        !            33: 
        !            34: /*
        !            35:  * tty line control switch.
        !            36:  */
        !            37: extern struct linesw
        !            38: {
        !            39:        int     (*l_open)();
        !            40:        int     (*l_close)();
        !            41:        int     (*l_read)();
        !            42:        char    *(*l_write)();
        !            43:        int     (*l_ioctl)();
        !            44:        int     (*l_rint)();
        !            45:        int     (*l_rend)();
        !            46:        int     (*l_meta)();
        !            47:        int     (*l_start)();
        !            48:        int     (*l_modem)();
        !            49: } linesw[];

unix.superglobalmegacorp.com

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