musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/sysmacros.h
AgeCommit message (Collapse)AuthorLines
2013年06月29日fix shifts possibly larger than type in major() macro Rich Felker-1/+1
in theory this should not be an issue, since major() should only be applied to type dev_t, which is 64-bit. however, it appears some applications are not using dev_t but a smaller integer type (which works on Linux because the kernel's dev_t is really only 32-bit). to avoid the undefined behavior, do it as two shifts.
2013年05月15日support full range of dev_t major/minor numbers in makedev, etc. macros Rich Felker-3/+10
2012年09月08日sysmacros major/minor: result should have type unsigned int, not dev_t Rich Felker-2/+2
2012年06月15日header file fixes: multiple include guard consistency and correctness Rich Felker-2/+2
one file was reusing another file's macro name, and many had inconsistent underscores and application of SYS prefix, etc. patch by Szabolcs Nagy (nsz)
2011年09月18日cleanup more bits cruft (sysmacros and socket) Rich Felker-1/+3
2011年02月12日initial check-in, version 0.5.0 v0.5.0 Rich Felker-0/+6
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 03:52:14 +0000

AltStyle によって変換されたページ (->オリジナル) /