mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
<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:
parent
05b29ce25a
commit
33645eb347
1 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,10 @@ __BEGIN_DECLS
|
||||||
@include(intn_t.h)
|
@include(intn_t.h)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_WANT_ENVIRON)
|
||||||
|
extern char** environ;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* TODO: These are not implemented in libmaxsi/sortix yet. */
|
/* TODO: These are not implemented in libmaxsi/sortix yet. */
|
||||||
#if defined(__SORTIX_SHOW_UNIMPLEMENTED)
|
#if defined(__SORTIX_SHOW_UNIMPLEMENTED)
|
||||||
unsigned alarm(unsigned);
|
unsigned alarm(unsigned);
|
||||||
|
|
Loading…
Add table
Reference in a new issue