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
custom_file.h
endian.h
epoll.h
eventfd.h
fcntl.h
file.h
gmon.h
inotify.h
ioctl.h
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
pciio.h
poll.h
prctl.h
queue.h
random.h
resource.h
select.h
sem.h
sendfile.h
shm.h
signal.h
signalfd.h
socket.h
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
timerfd.h
times.h
timex.h
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