nuttx/include/sys
Alan Carvalho de Assis 3cbf6f2168 libc: add wait4()
wait4() is BSD/Linux-standard (used by toybox's "time" applet) but NuttX
only had waitpid()+getrusage() separately. Add it to libs/libc/unistd/
built on top of those two existing primitives, so it needs no syscall
plumbing of its own and works unmodified across flat/protected/kernel
build separation. Prototype added to include/sys/wait.h.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-14 10:20:52 +08:00
..
boardctl.h !boards/boardctl: Remove BOARDIOC_INIT 2026-05-26 09:57:29 +08:00
custom_file.h
endian.h !compiler: drop CONFIG_HAVE_LONG_LONG and require long long support 2026-05-19 16:21:28 +08:00
epoll.h !compiler: drop CONFIG_HAVE_LONG_LONG and require long long support 2026-05-19 16:21:28 +08:00
eventfd.h
fcntl.h
file.h
gmon.h
inotify.h
ioctl.h sys/ioctl: extend the IOCTL defintion that compatible with linux kernel 2026-01-14 09:39:51 +08:00
ipc.h
mman.h fs/xipfs: Add a contiguous execute-in-place file system. 2026-07-29 07:49:03 -03:00
mount.h !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
msg.h
param.h arm: systick: fix off-by-one in SysTick RELOAD programming 2026-01-26 19:34:00 +08:00
pciio.h
poll.h
prctl.h
queue.h
random.h
resource.h sys/resouce: add RLIM_NLIMITS definition 2026-01-15 16:08:23 -03:00
select.h
sem.h
sendfile.h
shm.h
signal.h
signalfd.h
socket.h net: make the sendmsg param type consistent with posix specification 2026-01-16 21:11:39 +08:00
sockio.h
stat.h
statfs.h fs/mount: Name xipfs in statfs and fs_gettype. 2026-07-29 07:49:03 -03:00
statvfs.h
syscall.h
syscall_lookup.h sched: add supplementary group IDs (setgroups/getgroups/initgroups) 2026-08-12 16:06:03 -03:00
sysinfo.h
sysmacros.h
time.h syscall/adjtime: fix minior issue about adjtime and add clock_adjtime to syscall 2025-12-30 10:22:09 -03:00
timerfd.h fs/timerfd: implement TFD_TIMER_CANCEL_ON_SET to detect clock changes 2026-01-30 17:20:24 +08:00
times.h
timex.h sched/clock: support using CLOCKFD to call clock_adjtime 2025-12-30 10:22:09 -03:00
tree.h
types.h libs/libc: Fix divide-by-zero in stat() with large filesystem block sizes 2026-07-16 23:37:22 +08:00
uio.h
un.h
utsname.h
vfs.h
video_controls.h
videoio.h
wait.h libc: add wait4() 2026-08-14 10:20:52 +08:00