nuttx/include/sys
Karel Kočí b9066e42bb include: add BSD rounding macros to sys/param.h
These macros are commonly provided on BSD systems. They are not part of
C nor POSIX but these types of operations can be required in drivers
implementation as well as in user space. The operations themself are
simple but kind of cryptic when placed in the code as is. Thus having
macro with an appropriate name is beneficial.

The use of BSD naming here is only to cling to at least some other
implementation instead of creating completelly NuttX specific one.

Kudos to @hartmannathan for the source code documentation.

Signed-off-by: Karel Kočí <kkoci@elektroline.cz>
2025-11-24 14:11:41 +08:00
..
boardctl.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
custom_file.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
endian.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
epoll.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
eventfd.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
fcntl.h fcntl: add sys/fcntl.h header file 2024-12-20 11:46:14 -03:00
file.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
gmon.h libs: add gprof arm64 support 2024-10-10 18:46:51 +08:00
inotify.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ioctl.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ipc.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
mman.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
mount.h drivers/fs: Control the behavior of FTL by passing oflags during the open process. 2025-07-16 14:11:41 +08:00
msg.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
param.h include: add BSD rounding macros to sys/param.h 2025-11-24 14:11:41 +08:00
pciio.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
poll.h fs/poll: remove poll_fdsetup 2025-05-26 18:49:45 +08:00
prctl.h proctl: add PR_SET_DUMPABLE support 2024-12-20 11:46:14 -03:00
queue.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
random.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
resource.h sys/resource: add RLIMIT_NICE consntant 2024-12-20 11:46:14 -03:00
select.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
sem.h sem: add sys/sem.h header file 2024-12-20 11:46:14 -03:00
sendfile.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
shm.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
signal.h signal: add include/sys/signal.h to the signal 2024-12-20 11:46:14 -03:00
signalfd.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
socket.h sys/socket.h: Since ss_family is of type uint16_t (2-byte alignment), 2025-08-15 09:59:19 +08:00
sockio.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
stat.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
statfs.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
statvfs.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
syscall.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
syscall_lookup.h sched/gettid: Move thread ID to TLS 2025-04-08 22:53:10 +08:00
sysinfo.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
sysmacros.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
time.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
timerfd.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
times.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
tree.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
types.h sys/types.h: add loff_t data type definition 2024-12-20 11:46:14 -03:00
uio.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
un.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
utsname.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
vfs.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
video_controls.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
videoio.h style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
wait.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00