<unistd.h> now declares environ(7) if _WANT_ENVIRON.

Note that it is very bad style of programs to access it directly.
This commit is contained in:
Jonas 'Sortie' Termansen 2012-04-04 01:37:05 +02:00
parent 05b29ce25a
commit 33645eb347
1 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,10 @@ __BEGIN_DECLS
@include(intn_t.h)
#endif
#if defined(_WANT_ENVIRON)
extern char** environ;
#endif
/* TODO: These are not implemented in libmaxsi/sortix yet. */
#if defined(__SORTIX_SHOW_UNIMPLEMENTED)
unsigned alarm(unsigned);