nuttx/libs/libc/unistd
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
..
Kconfig libs/libc/ Kconfig files: Disable EXECFUNCS_HAVE_SYMTAB for kernel build. The symbol table don't have any meaning for kernel build since all executable binary should be self contained. 2019-10-01 07:19:21 -06:00
lib_access.c
lib_alarm.c include/sys/time.h, libs/libc/unistd, sched/timer: Implement alarm(), setitimer() and getitimer() APIs. 2019-11-13 08:10:16 -06:00
lib_chdir.c
lib_daemon.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_execl.c
lib_getcwd.c
lib_getegid.c
lib_geteuid.c
lib_getgid.c
lib_gethostname.c
lib_getopt.c Fix some typos. Mostly inital->initial. 2019-09-27 06:32:32 -06:00
lib_getoptargp.c
lib_getoptindp.c
lib_getoptoptp.c
lib_getrusage.c libs/libc/unistd/lib_getrusage.c: Add a dummy getrusage() implementation. 2019-11-17 08:48:05 -06:00
lib_getuid.c
lib_pipe.c
lib_setegid.c
lib_seteuid.c
lib_setgid.c
lib_sethostname.c
lib_setregid.c
lib_setreuid.c
lib_setuid.c
lib_sleep.c
lib_swab.c
lib_sysconf.c
lib_truncate.c
lib_usleep.c
Make.defs libs/libc/unistd/lib_getrusage.c: Add a dummy getrusage() implementation. 2019-11-17 08:48:05 -06:00