Annotation of researchv10dc/cmd/cyntax/lib/llib-lk, revision 1.1

1.1     ! root        1:        /* LINTLIBRARY */
        !             2: #include <setjmp.h>
        !             3: #include <sgtty.h>
        !             4: #include <signal.h>
        !             5: #include <stdio.h>
        !             6: #include <types.h>
        !             7: #include <stat.h>
        !             8: #include <times.h>
        !             9: #include <time.h>
        !            10: #include <dir.h>
        !            11: char   _ctype[];
        !            12: int    errno;
        !            13: struct _iobuf _iob[_NFILE];
        !            14: int    optind;
        !            15: int    signgam;
        !            16: char   *sys_errlist[];
        !            17: int    sys_nerr;
        !            18:        abort() { }
        !            19: int    abs(i) { return i; }
        !            20: int    access(name, mode) char *name; { return 1; }
        !            21: int    acct(f) char *f; { return 1; }
        !            22: double acos(x) double x; { return x; };
        !            23: unsigned int   alarm(s) unsigned s; { return 1; }
        !            24: char   *asctime(t) struct tm *t; { return ""; }
        !            25: double asin(x) double x; { return x; };
        !            26: double atan(x) double x; { return x; };
        !            27: double atan2(x, y) double x, y; { return x; };
        !            28: double atof(s) char *s; { return 1.; }
        !            29: int    atoi(s) char *s; { return 1; }
        !            30: long   atol(s) char *s; { return 1L; }
        !            31: char   *brk(a) char *a; { return ""; }
        !            32: double cabs(z) struct { double x, y;} z; { return 1.; }
        !            33: char   *calloc(n, s) unsigned n, s; { return ""; }
        !            34: double ceil(x) double x; { return x; };
        !            35:        cfree(p) char *p; { }
        !            36: int    chdir(s) char *s; { return 1; }
        !            37: int    chmod(s, m) char *s; { return 1; }
        !            38: int    chown(s, u, g) char *s; { return 1; }
        !            39: int    chroot(d) char *d; { return 1; }
        !            40: int    clearerr(stream)  FILE *stream; { return 1; }
        !            41: int    close(f) { return 1; }
        !            42: void   closedir(d)  DIR *d; { }
        !            43: double cos(x) double x; { return x; };
        !            44: double cosh(x) double x; { return x; };
        !            45: int    creat(s, m) char *s; { return 1; }
        !            46: char   *crypt(k, s) char *k, *s; { return ""; }
        !            47: char   *ctime(c) time_t *c;{ return ""; }
        !            48: int    dialout(c, t) char *c, *t; { return 1; }
        !            49: int    dup(f) { return f; }
        !            50: int    dup2(f1, f2) { return 1; }
        !            51: char   *ecvt(v, n, d, s) double v; int *d, *s; { return ""; }
        !            52:        encrypt(s, i) char *s; { }
        !            53:        endfsent() { }
        !            54:        endgrent() { }
        !            55: int    endpwent() { }
        !            56: double erf(x) double x; { return x; };
        !            57: double erfc(x) double x; { return x; };
        !            58:        /* VARARGS */
        !            59:        execl(f, a) char *f, *a; { }
        !            60:        /* VARARGS */
        !            61:        execlp(f, a) char *f, *a; { }
        !            62:        /*VARARGS*/
        !            63:        execle(name, a) char *name, *a; { }
        !            64:        execv(s, v) char *s, *v[]; { }
        !            65:        execvp(s, v) char *s, *v[]; { }
        !            66:        execve(n, a, e) char *n, *a[], *e[]; {  }
        !            67: double exp(x) double x; { return x; };
        !            68: double fabs(x) double x; { return x; };
        !            69: int    fchmod(fd, mode) { return 1; }
        !            70: int    fchown(fd, owner, group) { return 1; }
        !            71: int    fclose(f) FILE *f; { return 1;}
        !            72: char   *fcvt(v, n, d, s) double v; int *d, *s; { return ""; }
        !            73: FILE   *fdopen(fd, m) char *m; { return stdin;}
        !            74: int    fflush(f) FILE *f; { return 1;}
        !            75: int    fgetc(stream)  FILE *stream; { return 1; }
        !            76: char   *fgets( s, l, f ) char *s; FILE *f; { return ""; }
        !            77: double floor(x) double x; { return x; };
        !            78: FILE   *fopen(s, m) char *s, *m; { return stdin; }
        !            79: int    fork() { return 1; }
        !            80:        /* VARARGS */  /*PRINTFLIKE2*/
        !            81: int    fprintf( f, s ) FILE *f; char *s; { }
        !            82: int    fputc(c, stream) FILE *stream; { return 1; }
        !            83: int    fputs(s, f) char *s; FILE *f; { return 1;}
        !            84: double frand(x) double x; { return x; };
        !            85: int    fread( p, s, n, f ) char *p; FILE *f; { return 1;}
        !            86:        free(p) char *p; { }
        !            87: FILE   *freopen(s, m, f) char *s, *m; FILE *f; { return stdin; }
        !            88: double frexp(v, e) double v; int *e; { return v; }
        !            89:        /* VARARGS */ /*SCANFLIKE2*/
        !            90: int    fscanf( f, s ) FILE *f; char *s; { return 1;}
        !            91: int    fseek(f, o, p) FILE *f; long o; { return 1; }
        !            92: int    fstat(f, b) struct stat *b; { return 1; }
        !            93: long   ftell(f) FILE *f; { return 1L; }
        !            94:        ftime(tp) struct timeb *tp; { }
        !            95: int    ftw(p, f, d) char *p; int (*f)(); { return 1; }
        !            96: int    fwrite( p, s, n, f ) char *p; FILE *f; { return 1;}
        !            97: 
        !            98:        /* VARARGS */ /*PRINTFLIKE1*/
        !            99:        print( s ) char *s; { }
        !           100:        /* VARARGS */ /*PRINTFLIKE2*/
        !           101:        fprint(f, s) int f; char *s; { }
        !           102:        /* VARARGS */ /*PRINTFLIKE2*/
        !           103:        sprint(f, s) char *f; char *s; { }
        !           104: 
        !           105: /*
        !           106:  * FIO routines
        !           107:  */
        !           108: 
        !           109: int    Fflush(fd){ return(fd); }
        !           110: int    Fgetc(fd){ return(fd); }
        !           111: void   Finit(fd, buf) char *buf; { return; }
        !           112: int    Fprint(fd, fmt, args) char *fmt; { return(fd); }
        !           113: int    Fputc(fd, c) { return(c); }
        !           114: char   *Frdline(fd) { return(""); }
        !           115: long   Fread(fd, addr, n) char *addr; long n; { return(n); }
        !           116: long   Fseek(fd, n, cmd) long n; { return(n); }
        !           117: void   Fundo(fd) { return; }
        !           118: long   Fwrite(fd, addr, nbytes) char *addr; long nbytes; { return(0); }
        !           119: char   *galloc(n) unsigned n; { return ""; }
        !           120: double gamma(x) double x; { return x; };
        !           121:        garbage( ) { }
        !           122: int    gcd(a, b) { return 1; }
        !           123: char   *gcvt(v, n, b) double v; char *b; { return ""; }
        !           124: char   *getcwd(b, s) char *b; { return ""; }
        !           125: int    getegid() { return 1; }
        !           126: char   *getenv(name) char *name; { return ""; }
        !           127: int    geteuid() { return 1; }
        !           128: struct fstab *getfsent() { return getfsent(); }
        !           129: struct fstab *getfsfile(s) char *s; { return getfsfile(s); }
        !           130: struct fstab *getfsspec(s) char *s; { return getfsspec(s); }
        !           131: int    getgid() { return 1; }
        !           132: struct group *getgrent() { return getgrent(); }
        !           133: struct group *getgrgid(g) { return getgrgid(g); }
        !           134: struct group *getgrnam(s) char *s; { return getgrnam(s); }
        !           135: char   *getlogin() { return ""; }
        !           136: int    getopt(argc, argv, o) char **argv, *o; { return 1; }
        !           137: char   *getpass(p) char *p; { return ""; }
        !           138: int    getpid() { return 1; }
        !           139: int    getppid() { return 1; }
        !           140: int    getpw(uid, buf) char *buf; { return 1; }
        !           141: struct passwd *getpwent() { return getpwent(); }
        !           142: struct passwd *getpwnam(name) char *name; { return getpwnam(name); }
        !           143: struct passwd *getpwuid(uid) { return getpwuid(uid); }
        !           144: char   *gets(s) char *s; { return ""; }
        !           145: int    getuid() { return 1; }
        !           146: int    getw(stream)  FILE *stream; { return 1; }
        !           147: char   *getwd(buf) char *buf; { return ""; }
        !           148:        gfree(p) char *p; { }
        !           149: struct tm *gmtime(c) time_t *c; { return gmtime(c); }
        !           150: int    gtty(f, b) struct sgttyb *b; { return 1; }
        !           151: double hypot(x, y) double x, y; { return x; };
        !           152:        ialloc(ptr, size) char *ptr; unsigned size; { }
        !           153: int    ioctl(f, r, argp) struct sgttyb *argp; { return 1; }
        !           154: int    isatty(fildes) { return 1; }
        !           155: double j0(x) double x; { return x; };
        !           156: double j1(x) double x; { return x; };
        !           157: double jn(n, x) double x; { return x; };
        !           158: int    kill(p, s) { return 1; }
        !           159: long   lcm(a, b) { return lcm(a, b); }
        !           160: double ldexp(x) double x; { return x; };
        !           161: int    link(a, b) char *a, *b; { return 1; }
        !           162: struct tm *localtime(c) long *c; { return localtime(c); }
        !           163: double log(x) double x; { return x; };
        !           164: double log10(x) double x; { return x; };
        !           165:        longjmp(env, val) jmp_buf env; { }
        !           166: long   lrand() { return lrand(); }
        !           167: long   lseek(f, o, d) long o; { return 1; }
        !           168: int    lstat(n, b) char *n; struct stat *b; { return 1; }
        !           169:        ltol3(cp, lp, n) char *cp; long *lp; { }
        !           170: char   *malloc(n) unsigned n; { return "";}
        !           171: int    max(a, b) { return 1; }
        !           172: char   *memccpy(s1, s2, c, n) char *s1, *s2; { return ""; }
        !           173: char   *memchr(s, c, n) char *s; { return ""; }
        !           174: int    memcmp(s1, s2, n) char *s1, *s2; { return 1; }
        !           175: char   *memcpy(s1, s2, n) char *s1, *s2; { return ""; }
        !           176: char   *memset(s, c, n) char *s; { return ""; } 
        !           177: int    min(a, b) { return 1; }
        !           178: int    mknod(n, m, a) char *n; { return 1; }
        !           179: char   *mktemp(p) char *p; { return "";}
        !           180: double modf(v, iptr) double v, *iptr; { return v; }
        !           181:        monitor(l, h, b, s, n) int (*l)(), (*h)(); short *b; { }
        !           182: int    mount(s, n, f) char *s, *n; { return 1; }
        !           183: void   nice(p) {}
        !           184: int    nrand(val) { return 1; }
        !           185: int    open(f, m) char *f; { return 1; }
        !           186: DIR    *opendir(f) char *f; { return opendir(f); }
        !           187: void   pause() { }
        !           188: int    pclose(stream) FILE *stream; { return 1; }
        !           189:        perror(s) char *s; { }
        !           190: int    pipe(f) int f[2]; { return 1; }
        !           191: FILE   *popen(c, t) char *c, *t; { return popen(c, t); }
        !           192: double pow(x, y) double x, y; { return x; };
        !           193: FILE   *ppopen(c, t) char *c, *t; { return ppopen(c, t); }
        !           194:        /* VARARGS */ /*PRINTFLIKE1*/
        !           195: int    printf( s ) char *s; { }
        !           196: void   profil(b, s, o, i) char *b; { }
        !           197: int    ptopen(name) char *name; { return 1; }
        !           198: int    ptrace(r, p, a, d) { return 1; }
        !           199: int    puts(s) char *s; { return 1;}
        !           200: int    putw(w, stream) FILE *stream; { return 1; }
        !           201:        qsort(b, n, w, compar) char *b; int (*compar)(); { }
        !           202: struct passwd *pwdecode(p) char *p; { return pwdecode(p); }
        !           203: int    rand( ) { return 1; }
        !           204: char   *re_comp(s) char *s; { return ""; }
        !           205: int    re_exec(s) char *s; { return 1; }
        !           206: int    read(f, b, l) char *b; { return l; }
        !           207: struct direct *readdir(d) DIR *d; { return readdir(d); }
        !           208: int    readlink(name, b, s) char *name, *b; { return 1; }
        !           209: char   *realloc(p, n) char *p; unsigned n; { return "";}
        !           210:        rewind(f) FILE *f; { }
        !           211: char   *sbrk(i) { return ""; }
        !           212:        /* VARARGS */ /*SCANFLIKE1*/
        !           213: int    scanf( f ) char *f; { return 1; }
        !           214: void   seekdir(d, loc)  DIR *d; { }
        !           215:        setbuf( f, b ) FILE *f; char *b; { }
        !           216: int    setfsent() { return 1; }
        !           217: int    setgid(g) { return 1; }
        !           218: int    setgrent() { return 1; }
        !           219: int    setjmp(e) jmp_buf e; { return 1; }
        !           220:        setkey(k) char *k; { }
        !           221: int    setpwent() { return 1; }
        !           222: int    setuid(u) { return 1; }
        !           223: int    sgn(a) { return 1; }
        !           224: /*
        !           225: int    ((*signal)())(c, f) int (*f)(); { return f; }
        !           226: */
        !           227: double sin(x) double x; { return x; };
        !           228: double sinh(x) double x; { return x; };
        !           229:        sleep(i) unsigned i; { }
        !           230:        /* VARARGS */ /*PRINTFLIKE2*/
        !           231: char * sprintf( s, f ) char *s, *f; { return "";}
        !           232: double sqrt(x) double x; { return x; };
        !           233: int    srand(seed) { return 1; }
        !           234:        /* VARARGS */ /*SCANFLIKE2*/
        !           235: int    sscanf( s, f ) char *s, *f; { return 1; }
        !           236: int    stat(s, b) char *s; struct stat *b; { return 1; }
        !           237: int    stime(tp) long *tp; { return 1; }
        !           238: char   *strcat(a, b) char *a, *b; { return ""; }
        !           239: char   *strchr(s, c) char *s; { return ""; }
        !           240: int    strcmp(a, b) char *a, *b; { return 1; }
        !           241: char   *strcpy(a, b) char *a, *b; { return ""; }
        !           242: int    strcspn(s1, s2) char *s1, *s2; { return 1; }
        !           243: char   *strdup(s) char *s; { return ""; }
        !           244: int    strlen(s) char *s; { return 1; }
        !           245: char   *strncat(s1, s2, n) char *s1, *s2; { return ""; }
        !           246: int    strncmp(s1, s2, n) char *s1, *s2; { return 1; }
        !           247: char   *strncpy(s1, s2, n) char *s1, *s2; { return ""; }
        !           248: char   *strpbrk(s1, s2) char *s1, *s2; { return ""; }
        !           249: char   *strrchr(s, c) char *s; { return ""; }
        !           250: int    strspn(s1, s2) char *s1, *s2; { return 1; }
        !           251: char   *strtok(s1, s2) char *s1, *s2; { return ""; }
        !           252: int    stty(f, b) struct sgttyb *b; { return 1; } 
        !           253:        swab(a, b, n) char *a, *b; { }
        !           254: int    symlink(s1, s2) char *s1, *s2; { return 1; }
        !           255: void   sync() { }
        !           256:        /*VARARGS*/
        !           257:        syscall(n) { }
        !           258: int    system(s) char *s; { return 1; }
        !           259: double tan(x) double x; { return x; };
        !           260: double tanh(x) double x; { return x; };
        !           261: long   tell(f) { return 1L; }
        !           262: long   telldir(d)  DIR *d; { return 1L; }
        !           263: long   time(t) long *t; { return  1;}
        !           264:        times(b) struct tms *b; { }
        !           265: char   *timezone(z, dst) { return ""; }
        !           266: char   *tmpnam(s) char s[50]; { return ""; }
        !           267: int    tolower(c) { return 1; }
        !           268: int    toupper(c) { return 1; }
        !           269: char   *ttyname(f) { return ""; }
        !           270: int    ttyslot() { return 1; }
        !           271: int    umask(complmode) { return 1; }
        !           272: int    umount(special) char *special; { return 1; }
        !           273: int    ungetc( c, f ) FILE *f; {  return c; }
        !           274: int    unlink(s) char *s; { return 1; }
        !           275: int    utime(file, tp) char *file; time_t tp[2];  { return 1; }
        !           276: int    wait(s) int *s; { return 1; }
        !           277: int    write(f, b, l) char *b; { return l; }
        !           278: double y0(x) double x; { return x; };
        !           279: double y1(x) double x; { return x; };
        !           280: double yn(n, x) double x; { return x; };

unix.superglobalmegacorp.com

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