summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-02 22:50:59 +0000
committerbors <bors@rust-lang.org>2022-10-02 22:50:59 +0000
commit198beb0d45ef9ae2be1f4a6d35446a2822c13d76 (patch)
tree72b51f5c10cc63c42baff9664f880943f680f2db /.github
parentd99a59db0c27fee88dc2be97f5df171e94faec29 (diff)
parent11a1ffe2246cdcb029a1d7f6f1e96a869ef9e336 (diff)
downloadrust-libc-198beb0d45ef9ae2be1f4a6d35446a2822c13d76.tar.gz
Auto merge of #2937 - SteveLauC:add-major-minor-makedev-on-apple-oses, r=JohnTitor
add major/minor/makedev on apple OSes This impl corresponds to the macros in [`sys/types.h`](https://opensource.apple.com/source/xnu/xnu-7195.81.3/bsd/sys/types.h.auto.html): ```c #define major(x) ((int32_t)(((u_int32_t)(x) >> 24) & 0xff)) #define minor(x) ((int32_t)((x) & 0xffffff)) #define makedev(x, y) ((dev_t)(((x) << 24) | (y))) ```
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions