File tree Expand file tree Collapse file tree 9 files changed +29
-29
lines changed Expand file tree Collapse file tree 9 files changed +29
-29
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " libc"
3
- version = " 0.2.57 "
3
+ version = " 0.2.58 "
4
4
authors = [" The Rust Project Developers" ]
5
5
license = " MIT OR Apache-2.0"
6
6
readme = " README.md"
Original file line number Diff line number Diff line change @@ -197,12 +197,12 @@ pub const O_NOFOLLOW: ::c_int = 0x20000;
197
197
pub const ST_RELATIME : :: c_ulong = 4096 ;
198
198
pub const NI_MAXHOST : :: socklen_t = 1025 ;
199
199
200
- pub const RLIMIT_NOFILE : :: c_int = 5 ;
201
- pub const RLIMIT_AS : :: c_int = 6 ;
202
- pub const RLIMIT_RSS : :: c_int = 7 ;
203
- pub const RLIMIT_NPROC : :: c_int = 8 ;
204
- pub const RLIMIT_MEMLOCK : :: c_int = 9 ;
205
- pub const RLIMIT_NLIMITS : :: c_int = 16 ;
200
+ pub const RLIMIT_NOFILE : :: __rlimit_resource_t = 5 ;
201
+ pub const RLIMIT_AS : :: __rlimit_resource_t = 6 ;
202
+ pub const RLIMIT_RSS : :: __rlimit_resource_t = 7 ;
203
+ pub const RLIMIT_NPROC : :: __rlimit_resource_t = 8 ;
204
+ pub const RLIMIT_MEMLOCK : :: __rlimit_resource_t = 9 ;
205
+ pub const RLIMIT_NLIMITS : :: __rlimit_resource_t = 16 ;
206
206
207
207
pub const O_APPEND : :: c_int = 8 ;
208
208
pub const O_CREAT : :: c_int = 256 ;
Original file line number Diff line number Diff line change 91
91
pub const TIOCGSOFTCAR : :: c_ulong = 0x5419 ;
92
92
pub const TIOCSSOFTCAR : :: c_ulong = 0x541A ;
93
93
94
- pub const RLIMIT_NOFILE : :: c_int = 7 ;
95
- pub const RLIMIT_NPROC : :: c_int = 6 ;
94
+ pub const RLIMIT_NOFILE : :: __rlimit_resource_t = 7 ;
95
+ pub const RLIMIT_NPROC : :: __rlimit_resource_t = 6 ;
96
96
97
97
pub const O_APPEND : :: c_int = 1024 ;
98
98
pub const O_CREAT : :: c_int = 64 ;
Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ pub const TIOCSSOFTCAR: ::c_ulong = 0x541A;
150
150
pub const TIOCGRS485 : :: c_int = 0x542E ;
151
151
pub const TIOCSRS485 : :: c_int = 0x542F ;
152
152
153
- pub const RLIMIT_NOFILE : :: c_int = 7 ;
154
- pub const RLIMIT_NPROC : :: c_int = 6 ;
153
+ pub const RLIMIT_NOFILE : :: __rlimit_resource_t = 7 ;
154
+ pub const RLIMIT_NPROC : :: __rlimit_resource_t = 6 ;
155
155
156
156
pub const O_APPEND : :: c_int = 1024 ;
157
157
pub const O_CREAT : :: c_int = 64 ;
Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;
135
135
pub const TIOCGSOFTCAR : :: c_ulong = 0x5419 ;
136
136
pub const TIOCSSOFTCAR : :: c_ulong = 0x541A ;
137
137
138
- pub const RLIMIT_NOFILE : :: c_int = 7 ;
139
- pub const RLIMIT_NPROC : :: c_int = 6 ;
138
+ pub const RLIMIT_NOFILE : :: __rlimit_resource_t = 7 ;
139
+ pub const RLIMIT_NPROC : :: __rlimit_resource_t = 6 ;
140
140
141
141
pub const O_APPEND : :: c_int = 1024 ;
142
142
pub const O_CREAT : :: c_int = 64 ;
Original file line number Diff line number Diff line change @@ -148,8 +148,8 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;
148
148
pub const TIOCGSOFTCAR : :: c_ulong = 0x40047464 ;
149
149
pub const TIOCSSOFTCAR : :: c_ulong = 0x80047465 ;
150
150
151
- pub const RLIMIT_NOFILE : :: c_int = 6 ;
152
- pub const RLIMIT_NPROC : :: c_int = 7 ;
151
+ pub const RLIMIT_NOFILE : :: __rlimit_resource_t = 6 ;
152
+ pub const RLIMIT_NPROC : :: __rlimit_resource_t = 7 ;
153
153
154
154
pub const O_APPEND : :: c_int = 0x8 ;
155
155
pub const O_CREAT : :: c_int = 0x200 ;
Original file line number Diff line number Diff line change @@ -335,8 +335,8 @@ pub const TIOCSSOFTCAR: ::c_ulong = 0x541A;
335
335
pub const TIOCGRS485 : :: c_int = 0x542E ;
336
336
pub const TIOCSRS485 : :: c_int = 0x542F ;
337
337
338
- pub const RLIMIT_NOFILE : :: c_int = 7 ;
339
- pub const RLIMIT_NPROC : :: c_int = 6 ;
338
+ pub const RLIMIT_NOFILE : :: __rlimit_resource_t = 7 ;
339
+ pub const RLIMIT_NPROC : :: __rlimit_resource_t = 6 ;
340
340
341
341
pub const O_APPEND : :: c_int = 1024 ;
342
342
pub const O_CREAT : :: c_int = 64 ;
Original file line number Diff line number Diff line change @@ -368,12 +368,12 @@ pub const USER_PROCESS: ::c_short = 7;
368
368
pub const DEAD_PROCESS : :: c_short = 8 ;
369
369
pub const ACCOUNTING : :: c_short = 9 ;
370
370
371
- pub const RLIMIT_RSS : :: c_int = 5 ;
372
- pub const RLIMIT_AS : :: c_int = 9 ;
373
- pub const RLIMIT_MEMLOCK : :: c_int = 8 ;
371
+ pub const RLIMIT_RSS : :: __rlimit_resource_t = 5 ;
372
+ pub const RLIMIT_AS : :: __rlimit_resource_t = 9 ;
373
+ pub const RLIMIT_MEMLOCK : :: __rlimit_resource_t = 8 ;
374
374
pub const RLIM_INFINITY : :: rlim_t = !0 ;
375
- pub const RLIMIT_RTTIME : :: c_int = 15 ;
376
- pub const RLIMIT_NLIMITS : :: c_int = 16 ;
375
+ pub const RLIMIT_RTTIME : :: __rlimit_resource_t = 15 ;
376
+ pub const RLIMIT_NLIMITS : :: __rlimit_resource_t = 16 ;
377
377
378
378
pub const SOCK_NONBLOCK : :: c_int = O_NONBLOCK ;
379
379
Original file line number Diff line number Diff line change @@ -469,13 +469,13 @@ pub const SO_RXQ_OVFL: ::c_int = 40;
469
469
pub const SO_PEEK_OFF : :: c_int = 42 ;
470
470
pub const SO_BUSY_POLL : :: c_int = 46 ;
471
471
472
- pub const RLIMIT_RSS : :: c_int = 5 ;
473
- pub const RLIMIT_NOFILE : :: c_int = 7 ;
474
- pub const RLIMIT_AS : :: c_int = 9 ;
475
- pub const RLIMIT_NPROC : :: c_int = 6 ;
476
- pub const RLIMIT_MEMLOCK : :: c_int = 8 ;
477
- pub const RLIMIT_RTTIME : :: c_int = 15 ;
478
- pub const RLIMIT_NLIMITS : :: c_int = 16 ;
472
+ pub const RLIMIT_RSS : :: __rlimit_resource_t = 5 ;
473
+ pub const RLIMIT_NOFILE : :: __rlimit_resource_t = 7 ;
474
+ pub const RLIMIT_AS : :: __rlimit_resource_t = 9 ;
475
+ pub const RLIMIT_NPROC : :: __rlimit_resource_t = 6 ;
476
+ pub const RLIMIT_MEMLOCK : :: __rlimit_resource_t = 8 ;
477
+ pub const RLIMIT_RTTIME : :: __rlimit_resource_t = 15 ;
478
+ pub const RLIMIT_NLIMITS : :: __rlimit_resource_t = 16 ;
479
479
480
480
pub const O_NOCTTY : :: c_int = 256 ;
481
481
pub const O_SYNC : :: c_int = 1052672 ;
You can’t perform that action at this time.
0 commit comments