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 @@ -215,6 +215,8 @@ pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 2;
215
215
pub const HW_AVAILCPU : :: c_int = 25 ;
216
216
pub const KERN_PROC_ARGS : :: c_int = 55 ;
217
217
218
+ pub const TMP_MAX : :: c_uint = 0x7fffffff ;
219
+
218
220
extern {
219
221
pub fn getnameinfo ( sa : * const :: sockaddr ,
220
222
salen : :: socklen_t ,
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ pub const BUFSIZ : ::c_uint = 1024;
57
57
pub const FOPEN_MAX : :: c_uint = 20 ;
58
58
pub const FILENAME_MAX : :: c_uint = 1024 ;
59
59
pub const L_tmpnam : :: c_uint = 1024 ;
60
- pub const TMP_MAX : :: c_uint = 308915776 ;
61
60
pub const O_RDONLY : :: c_int = 0 ;
62
61
pub const O_WRONLY : :: c_int = 1 ;
63
62
pub const O_RDWR : :: c_int = 2 ;
Original file line number Diff line number Diff line change @@ -320,6 +320,8 @@ pub const NOTE_PCTRLMASK: ::uint32_t = 0xf0000000;
320
320
321
321
pub const CRTSCTS : :: tcflag_t = 0x00010000 ;
322
322
323
+ pub const TMP_MAX : :: c_uint = 308915776 ;
324
+
323
325
extern {
324
326
pub fn getnameinfo ( sa : * const :: sockaddr ,
325
327
salen : :: socklen_t ,
Original file line number Diff line number Diff line change @@ -214,6 +214,8 @@ pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 2;
214
214
215
215
pub const KERN_PROC_ARGS : :: c_int = 55 ;
216
216
217
+ pub const TMP_MAX : :: c_uint = 0x7fffffff ;
218
+
217
219
// syscall numbers
218
220
pub const SYS_getentropy : :: c_int = 7 ;
219
221
You can’t perform that action at this time.
0 commit comments