File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
pub const L_tmpnam : :: c_uint = 14 ;
2
2
pub const TMP_MAX : :: c_uint = 0x7fff ;
3
3
4
+ // stdio file descriptor numbers
5
+ pub const STDIN_FILENO : :: c_int = 0 ;
6
+ pub const STDOUT_FILENO : :: c_int = 1 ;
7
+ pub const STDERR_FILENO : :: c_int = 2 ;
8
+
4
9
extern {
5
10
pub fn strcasecmp ( s1 : * const :: c_char , s2 : * const :: c_char ) -> :: c_int ;
6
11
pub fn strncasecmp ( s1 : * const :: c_char , s2 : * const :: c_char ,
Original file line number Diff line number Diff line change @@ -188,11 +188,6 @@ pub const SIGABRT: ::c_int = 22;
188
188
pub const NSIG : :: c_int = 23 ;
189
189
pub const SIG_ERR : :: c_int = -1 ;
190
190
191
- // stdio file descriptor numbers
192
- pub const STDIN_FILENO : :: c_int = 0 ;
193
- pub const STDOUT_FILENO : :: c_int = 1 ;
194
- pub const STDERR_FILENO : :: c_int = 2 ;
195
-
196
191
// inline comment below appeases style checker
197
192
#[ cfg( all( target_env = "msvc" , feature = "rustc-dep-of-std" ) ) ] // " if "
198
193
#[ link( name = "msvcrt" , cfg( not( target_feature = "crt-static" ) ) ) ]
You can’t perform that action at this time.
0 commit comments