File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/unix/bsd/netbsdlike/openbsd Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1402,11 +1402,7 @@ fn _ALIGN(p: usize) -> usize {
14021402}
14031403
14041404f ! {
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 {
1405+ pub fn CMSG_DATA ( cmsg: * const :: cmsghdr) -> * mut :: c_uchar {
14101406 ( cmsg as * mut :: c_uchar)
14111407 . offset( _ALIGN( :: mem:: size_of:: <:: cmsghdr>( ) ) as isize )
14121408 }
@@ -1451,6 +1447,10 @@ safe_f! {
14511447 pub { const } fn WIFSTOPPED ( status: :: c_int) -> bool {
14521448 ( status & 0xff ) == 0o177
14531449 }
1450+
1451+ pub { const } fn WIFCONTINUED ( status: :: c_int) -> bool {
1452+ ( status & 0o177777 ) == 0o177777
1453+ }
14541454}
14551455
14561456extern "C" {
You can’t perform that action at this time.
0 commit comments