Annotation of researchv10no/cmd/u9fs/libc.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * mem routines
        !             3:  */
        !             4: void*  memset(void*, int, Ulong);
        !             5: int    memcmp(void*, void*, Ulong);
        !             6: void*  memmove(void*, void*, Ulong);
        !             7: void*  memchr(void*, int, Ulong);
        !             8: void*  memccpy(void*, void*, int, Ulong);
        !             9: 
        !            10: /*
        !            11:  * string routines
        !            12:  */
        !            13: char*  strcat(char*, char*);
        !            14: char*  strchr(char*, char);
        !            15: int    strcmp(char*, char*);
        !            16: char*  strcpy(char*, char*);
        !            17: char*  strncat(char*, char*, long);
        !            18: char*  strncpy(char*, char*, long);
        !            19: int    strncmp(char*, char*, long);
        !            20: char*  strrchr(char*, char);
        !            21: char*  strtok(char*, char*);
        !            22: long   strlen(char*);
        !            23: long   strspn(char*, char*);
        !            24: long   strcspn(char*, char*);
        !            25: char*  strpbrk(char*, char*);
        !            26: char*  strdup(char*);
        !            27: 
        !            28: /*
        !            29:  * malloc
        !            30:  */
        !            31: void*  malloc(long);
        !            32: void   free(void*);
        !            33: void*  realloc(void*, long);
        !            34: 
        !            35: /*
        !            36:  * one-of-a-kind
        !            37:  */
        !            38: void   abort(void);
        !            39: 
        !            40: extern int errno;
        !            41: extern char *sys_errlist[];
        !            42: 
        !            43: #ifdef NEEDPROTO
        !            44: int    chmod(const char*, int);
        !            45: int    chown(char*, int, int);
        !            46: int    close(int);
        !            47: int    creat(char*, int);
        !            48: int    fchmod(int, int);
        !            49: int    fchown(int, int, int);
        !            50: int    getpid(void);
        !            51: int    link(char*, char*);
        !            52: long   lseek(int, long, int);
        !            53: int    mkdir(const char*, int);
        !            54: int    open(char*, int, ...);
        !            55: long   read(int, void*, int);
        !            56: int    rmdir(char*);
        !            57: int    stat(const char*, struct stat*);
        !            58: int    unlink(char*);
        !            59: long   write(int, void*, int);
        !            60: #endif

unix.superglobalmegacorp.com

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