stdlib.h: Add correct POSIX version for POSIX extensions to C.
This commit is contained in:
parent
959631351b
commit
e45e1f2730
@ -161,14 +161,16 @@ _Noreturn void
|
||||
quick_exit(int);
|
||||
#endif /* __ISO_C_VISIBLE >= 2011 */
|
||||
/*
|
||||
* Extensions made by POSIX relative to C. We don't know yet which edition
|
||||
* of POSIX made these extensions, so assume they've always been there until
|
||||
* research can be done.
|
||||
* Extensions made by POSIX relative to C.
|
||||
*/
|
||||
#if __POSIX_VISIBLE /* >= ??? */
|
||||
int posix_memalign(void **, size_t, size_t); /* (ADV) */
|
||||
int rand_r(unsigned *); /* (TSF) */
|
||||
#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE
|
||||
char *realpath(const char * __restrict, char * __restrict);
|
||||
#endif
|
||||
#if __POSIX_VISIBLE >= 199506
|
||||
int rand_r(unsigned *); /* (TSF) */
|
||||
#endif
|
||||
#if __POSIX_VISIBLE >= 200112
|
||||
int posix_memalign(void **, size_t, size_t); /* (ADV) */
|
||||
int setenv(const char *, const char *, int);
|
||||
int unsetenv(const char *);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user