We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb8fe9a commit cf0793aCopy full SHA for cf0793a
src/unix/bsd/netbsdlike/openbsd/mod.rs
@@ -1402,11 +1402,7 @@ fn _ALIGN(p: usize) -> usize {
1402
}
1403
1404
f! {
1405
- pub {const} fn WIFCONTINUED(status: ::c_int) -> bool {
1406
- status & 0o177777 == 0o177777
1407
- }
1408
-
1409
- pub fn CMSG_DATA(cmsg: *const ::cmsghdr) -> *mut ::c_uchar {
+ pub fn CMSG_DATA(cmsg: *const ::cmsghdr) -> *mut ::c_uchar {
1410
(cmsg as *mut ::c_uchar)
1411
.offset(_ALIGN(::mem::size_of::<::cmsghdr>()) as isize)
1412
@@ -1451,6 +1447,10 @@ safe_f! {
1451
1447
pub {const} fn WIFSTOPPED(status: ::c_int) -> bool {
1452
1448
(status & 0xff) == 0o177
1453
1449
1450
+
+ pub {const} fn WIFCONTINUED(status: ::c_int) -> bool {
+ (status & 0o177777) == 0o177777
+ }
1454
1455
1456
extern "C" {
0 commit comments