Annotation of researchv10dc/ipc/internet/deqnaprom.c, revision 1.1

1.1     ! root        1: #include <stdio.h>
        !             2: #include <sys/types.h>
        !             3: #include <sys/enio.h>
        !             4: 
        !             5: main(ac, av)
        !             6: char *av[];
        !             7: {
        !             8:        int fd;
        !             9:        unsigned int cmd;
        !            10: 
        !            11:        fd = open("/dev/qe03", 2);
        !            12:        if (fd<0) {
        !            13:                perror("opening /dev/qe03");
        !            14:                exit(1);
        !            15:        }
        !            16:        if (ioctl(fd, ENIOPROM, &cmd) < 0) {
        !            17:                perror("ioctl");
        !            18:                exit(1);
        !            19:        }
        !            20:        return 0;
        !            21: }

unix.superglobalmegacorp.com

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