X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fstdlib.h;h=a12192f0c8f3f8e2d261147fc75b35563e5a0fb6;hb=07e865cc5afb11e6e882e998306ab0f7fb64357e;hp=045756bc92b7c76dfdf8d40fbd241ec078ea8e44;hpb=80695b1d1e64a026c473a33965e680444e863e34;p=musl diff --git a/include/stdlib.h b/include/stdlib.h index 045756bc..a12192f0 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -69,7 +69,10 @@ int wctomb (char *, wchar_t); size_t mbstowcs (wchar_t *, const char *, size_t); size_t wcstombs (char *, const wchar_t *, size_t); -#define MB_CUR_MAX 4 +#define EXIT_FAILURE 1 +#define EXIT_SUCCESS 0 + +#define MB_CUR_MAX ((size_t)+4) #define RAND_MAX (0x7fffffff) @@ -81,9 +84,6 @@ size_t wcstombs (char *, const wchar_t *, size_t); #include #endif -#define EXIT_FAILURE 1 -#define EXIT_SUCCESS 0 - int posix_memalign (void **, size_t, size_t); int setenv (const char *, const char *, int); int unsetenv (const char *); @@ -124,6 +124,8 @@ void lcong48 (unsigned short [7]); char *mktemp (char *); void *valloc (size_t); void *memalign(size_t, size_t); +int clearenv(void); +int ptsname_r(int, char *, size_t); #endif