@@ -418,6 +418,7 @@ s_no_extra_traits! {
418
418
pub struct dirent {
419
419
pub d_ino: crate :: ino_t,
420
420
pub d_name: [ c_char; _PARM_NAME_MAX as usize + 1 ] ,
421
+ pub d_type: c_uchar,
421
422
}
422
423
423
424
pub struct sockaddr_un {
@@ -466,6 +467,7 @@ cfg_if! {
466
467
f. debug_struct( "dirent" )
467
468
. field( "d_ino" , & self . d_ino)
468
469
. field( "d_name" , &&self . d_name[ ..] )
470
+ . field( "d_type" , & self . d_type)
469
471
. finish( )
470
472
}
471
473
}
@@ -978,11 +980,34 @@ pub const SIGCONT: c_int = 19;
978
980
pub const SIGCHLD : c_int = 20 ;
979
981
pub const SIGTTIN : c_int = 21 ;
980
982
pub const SIGTTOU : c_int = 22 ;
983
+ pub const SIGUSR1 : c_int = 30 ;
984
+ pub const SIGUSR2 : c_int = 31 ;
985
+ pub const SIGPOLL : c_int = 32 ;
986
+ pub const SIGPROF : c_int = 33 ;
987
+ pub const SIGSYS : c_int = 34 ;
988
+ pub const SIGURG : c_int = 35 ;
989
+ pub const SIGVTALRM : c_int = 36 ;
990
+ pub const SIGXCPU : c_int = 37 ;
991
+ pub const SIGXFSZ : c_int = 38 ;
992
+ pub const SIGRTMIN : c_int = 48 ;
993
+
994
+ pub const SIGIO : c_int = SIGRTMIN ;
995
+ pub const SIGWINCH : c_int = SIGRTMIN + 5 ;
996
+ pub const SIGLOST : c_int = SIGRTMIN + 6 ;
981
997
982
998
pub const SIG_BLOCK : c_int = 1 ;
983
999
pub const SIG_UNBLOCK : c_int = 2 ;
984
1000
pub const SIG_SETMASK : c_int = 3 ;
985
1001
1002
+ pub const SA_NOCLDSTOP : c_int = 0x0001 ;
1003
+ pub const SA_SIGINFO : c_int = 0x0002 ;
1004
+ pub const SA_ONSTACK : c_int = 0x0004 ;
1005
+ pub const SA_INTERRUPT : c_int = 0x0008 ;
1006
+ pub const SA_RESETHAND : c_int = 0x0010 ;
1007
+ pub const SA_RESTART : c_int = 0x0020 ;
1008
+ pub const SA_NODEFER : c_int = 0x0040 ;
1009
+ pub const SA_NOCLDWAIT : c_int = 0x0080 ;
1010
+
986
1011
pub const SI_SYNC : c_int = 0 ;
987
1012
pub const SI_USER : c_int = -1 ;
988
1013
pub const SI_QUEUE : c_int = -2 ;
0 commit comments