File tree 4 files changed +6
-1
lines changed 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,6 @@ pub const SIGSEGV : ::c_int = 11;
177
177
pub const SIGPIPE : :: c_int = 13 ;
178
178
pub const SIGALRM : :: c_int = 14 ;
179
179
pub const SIGTERM : :: c_int = 15 ;
180
- pub const SIGSTKSZ : :: size_t = 40960 ;
181
180
182
181
pub const PROT_NONE : :: c_int = 0 ;
183
182
pub const PROT_READ : :: c_int = 1 ;
Original file line number Diff line number Diff line change @@ -947,6 +947,8 @@ pub const CHWFLOW: ::tcflag_t = ::MDMBUF | ::CRTSCTS | ::CDTRCTS;
947
947
pub const SOCK_CLOEXEC : :: c_int = 0x10000000 ;
948
948
pub const SOCK_NONBLOCK : :: c_int = 0x20000000 ;
949
949
950
+ pub const SIGSTKSZ : :: size_t = 40960 ;
951
+
950
952
// dirfd() is a macro on netbsd to access
951
953
// the first field of the struct where dirp points to:
952
954
// http://cvsweb.netbsd.org/bsdweb.cgi/src/include/dirent.h?rev=1.36
Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ pub const IFF_LINK1: ::c_int = 0x2000; // per link layer defined bit
83
83
pub const IFF_LINK2 : :: c_int = 0x4000 ; // per link layer defined bit
84
84
pub const IFF_MULTICAST : :: c_int = 0x8000 ; // supports multicast
85
85
86
+ pub const SIGSTKSZ : :: size_t = 40960 ;
87
+
86
88
extern {
87
89
pub fn nl_langinfo_l ( item : :: nl_item , locale : :: locale_t ) -> * mut :: c_char ;
88
90
pub fn duplocale ( base : :: locale_t ) -> :: locale_t ;
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ pub const IFF_LINK1: ::c_int = 0x2000; // per link layer defined bit
47
47
pub const IFF_LINK2 : :: c_int = 0x4000 ; // per link layer defined bit
48
48
pub const IFF_MULTICAST : :: c_int = 0x8000 ; // supports multicast
49
49
50
+ pub const SIGSTKSZ : :: size_t = 24576 ;
51
+
50
52
extern {
51
53
pub fn accept4 ( s : :: c_int , addr : * mut :: sockaddr ,
52
54
addrlen : * mut :: socklen_t , flags : :: c_int ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments