elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
libc
/
include
/
stdlib.h
File editor
#ifndef __STDLIB_H #define __STDLIB_H /* stdlib.h <ndf@linux.mit.edu> */ #include <features.h> #include <sys/types.h> #include <malloc.h> #include <alloca.h> #include <arch/divmod.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 #define RAND_MAX 0x7fff int rand(void); void srand(unsigned int seed); long strtol(const char *str, char **endptr, int base); unsigned long strtoul(const char *str, char **endptr, int base); #ifndef __HAS_NO_FLOATS__ double strtod(const char *nptr, char **endptr); double atof(const char *str); char *ecvt(double val, int ndig, int *pdecpt, int *psign); char *fcvt(double val, int nfrac, int *pdecpt, int *psign); void dtostr(double val, int style, int preci, char *buf); #endif long atol(const char *str); int atoi(const char *str); int abs(int x); /* 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; char *getenv(const char *name); int putenv(char *string); char *mktemp(char *template); noreturn void abort(void); int atexit (void (*function)(void)); noreturn void exit(int status); noreturn void _exit(int status); /* syscall */ int system(const char *command); void qsort(void *base, size_t nel, size_t width, int (*compar)(/*const void *, const void * */)); char *devname(dev_t dev, mode_t type); /* non-standard routines */ int (bsr)(int x); char *itoa(int val); char *uitoa(unsigned int val); char *ltoa(long val); char *ultoa(unsigned long val); char *ltostr(long val, int radix); char *lltostr(long long val, int radix); char *ultostr(unsigned long val, int radix); char *ulltostr(unsigned long long val, int radix); void hexdump(void *off, unsigned int seg, int count, int flags, const char *prefix); #endif /* __STDLIB_H */
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history