/usr/lib/bcc/include/stdlib.h is in elks-libc 0.16.17-3.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | /* stdlib.h <ndf@linux.mit.edu> */
#include <features.h>
#include <sys/types.h>
#ifndef __STDLIB_H
#define __STDLIB_H
/* Don't overwrite user definitions of NULL */
#ifndef NULL
#define NULL ((void *) 0)
#endif
/* For program termination */
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#include <malloc.h>
extern int rand __P ((void));
extern void srand __P ((unsigned int seed));
extern long strtol __P ((const char * nptr, char ** endptr, int base));
extern unsigned long strtoul __P ((const char * nptr,
char ** endptr, int base));
#ifndef __HAS_NO_FLOATS__
extern double strtod __P ((const char * nptr, char ** endptr));
extern double atof __P ((__const char *__nptr));
#endif
extern long int atol __P ((__const char *__nptr));
extern int atoi __P ((__const char *__nptr));
/* Returned by `div'. */
typedef struct
{
int quot; /* Quotient. */
int rem; /* Remainder. */
} div_t;
/* Returned by `ldiv'. */
typedef struct
{
long int quot; /* Quotient. */
long int rem; /* Remainder. */
} ldiv_t;
extern char *getenv __P ((__const char *__name));
extern char *mktemp __P ((char *__template));
#endif /* __STDLIB_H */
|