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 11pub const L_tmpnam : :: c_uint = 14 ;
22pub const TMP_MAX : :: c_uint = 0x7fff ;
33
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+
49extern {
510 pub fn strcasecmp ( s1 : * const :: c_char , s2 : * const :: c_char ) -> :: c_int ;
611 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;
188188pub const NSIG : :: c_int = 23 ;
189189pub const SIG_ERR : :: c_int = -1 ;
190190
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-
196191// inline comment below appeases style checker
197192#[ cfg( all( target_env = "msvc" , feature = "rustc-dep-of-std" ) ) ] // " if "
198193#[ link( name = "msvcrt" , cfg( not( target_feature = "crt-static" ) ) ) ]
You can’t perform that action at this time.
0 commit comments