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
mount.h
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
statvfs.h
syscall.h
syscall_lookup.h
sysinfo.h
sysmacros.h
time.h
timerfd.h
times.h
timex.h
tree.h
types.h
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