Annotation of researchv9/cmd/cfront/CC/libc.h, revision 1.1.1.1

1.1       root        1: 
                      2:        /*      some functions from the UNIX manual section 3
                      3: 
                      4:                INCOMPLETE: contains only declarations of functions that
                      5:                (1) is not declared with their data structures
                      6:                (2) are identically declared in UNIX5.2 and bsd4.2
                      7:        */
                      8: 
                      9: extern int abort(...);
                     10: /*     extern int abs(int); */
                     11: /*     extern long clock(); */
                     12: extern char* crypt(char*, char*);
                     13: extern void setkey(char*);
                     14: extern void encrypt(char*, int);
                     15: extern char* ecvt(double, int, int*, int*);
                     16: extern char* fcvt(double, int ,int*, int*);
                     17: extern char* gcvt(double, int, char*);
                     18: /* extern end, etext, edata; */
                     19: extern double frexp(double, int*);
                     20: extern double ldexp(double, int);
                     21: extern double modf(double, double*);
                     22: extern char* getenv(char*);
                     23: extern char* getlogin();
                     24: extern char* getpass(char*);
                     25: extern int getpw(int, char*);
                     26: extern void l3tol(long*, char*, int);
                     27: extern void ltol3(char*, long*, int);
                     28: /* extern char *malloc(unsigned);              use "new" instead
                     29:    extern void free(char *);                   use "delete" instead
                     30:    extern char *realloc(char *, unsigned);
                     31:    extern char *calloc(unsigned, unsigned);    use "new" instead
                     32: */
                     33: extern char* mktemp(char*);
                     34: extern void perror(char*);
                     35: /* extern sleep(unsigned); */
                     36: extern void swab(char*, char*, int);
                     37: extern int system(char*);
                     38: extern char* ttyname(int);
                     39: extern int isatty(int);
                     40: extern int ttyslot();

unix.superglobalmegacorp.com

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