wasi-libc/libc-bottom-half/sources
Dan Gohman a8a5dbcf91
Ensure __environ is initialized even when it's empty. (#125)
POSIX requires `environ` to be a pointer to a NULL-terminated array of
pointers, so it itself can't be NULL.

This fixes a regression in src/functional/env.c in wasi-libc-test.
2019-10-28 10:34:57 -07:00
..
__environ.c Ensure __environ is initialized even when it's empty. (#125) 2019-10-28 10:34:57 -07:00
__original_main.c Call populate_args only if we actually need command-line arguments (#112) 2019-10-24 17:30:46 -07:00
__wasilibc_fd_renumber.c Fix miscellaneous lint warnings. 2019-04-15 09:47:16 -07:00
__wasilibc_rmdirat.c Miscellaneous cleanups (#113) 2019-10-18 13:53:13 -07:00
__wasilibc_tell.c Optimize lseek in the tell case. 2019-04-30 16:19:05 -07:00
__wasilibc_unlinkat.c Miscellaneous cleanups (#113) 2019-10-18 13:53:13 -07:00
errno.c WASI libc prototype implementation. 2019-03-27 07:59:55 -07:00
getentropy.c Declare getentropy in <sys/random.h> 2019-04-30 16:07:49 -07:00
isatty.c WASI libc prototype implementation. 2019-03-27 07:59:55 -07:00
LICENSE WASI libc prototype implementation. 2019-03-27 07:59:55 -07:00
pause.c Fix miscellaneous lint warnings. 2019-04-15 09:47:16 -07:00
sbrk.c Make sbrk(0) deterministic (#115) 2019-10-21 15:44:23 -07:00
string.c Use the same indentation style as surrounding code. 2019-04-15 09:47:16 -07:00
truncate.c Implement truncate(2). 2019-05-15 11:53:11 -07:00