Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/stdlib.h

    rd39c46e0 rf2460a50  
    4242#define RAND_MAX  714025
    4343
    44 extern int rand(void);
    45 extern void srand(unsigned int seed);
     44#define rand()       random()
     45#define srand(seed)  srandom(seed)
     46
     47extern long int random(void);
     48extern void srandom(unsigned int seed);
    4649
    4750extern void abort(void) __attribute__((noreturn));
    4851extern void exit(int) __attribute__((noreturn));
    49 
    50 extern int atoi(const char *);
    51 extern long atol(const char *);
    52 extern long long atoll(const char *);
    53 
    54 extern long strtol(const char *__restrict__, char **__restrict__, int);
    55 extern long long strtoll(const char *__restrict__, char **__restrict__, int);
    56 extern unsigned long strtoul(const char *__restrict__, char **__restrict__, int);
    57 extern unsigned long long strtoull(const char *__restrict__, char **__restrict__, int);
    5852
    5953#endif
Note: See TracChangeset for help on using the changeset viewer.