Files
photon/photon/libc/include/stdlib.h
2020-07-16 14:02:51 +01:00

25 lines
490 B
C

#ifndef STDLIB_H_
#define STDLIB_H_
#include <stddef.h>
#if defined(__cplusplus)
extern "C" {
#endif
extern _Noreturn void abort(void);
extern _Noreturn void exit(int code);
extern void *malloc(size_t sz);
extern void free(void *ptr);
extern int atoi(const char *str);
extern double atof(const char *str);
extern long int strtol(const char *str, char **endptr, int base);
extern double strtod(const char *str, char **endptr);
#if defined(__cplusplus)
} /* extern "C" */
#endif
#endif