We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df115b commit e94f68cCopy full SHA for e94f68c
src/unix/mod.rs
@@ -512,8 +512,11 @@ extern {
512
pub fn snprintf(s: *mut ::c_char, n: ::size_t,
513
format: *const ::c_char, ...) -> ::c_int;
514
pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int;
515
+ #[cfg_attr(target_os = "linux", link_name = "__isoc99_fscanf")]
516
pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int;
517
+ #[cfg_attr(target_os = "linux", link_name = "__isoc99_scanf")]
518
pub fn scanf(format: *const ::c_char, ...) -> ::c_int;
519
+ #[cfg_attr(target_os = "linux", link_name = "__isoc99_sscanf")]
520
pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int;
521
pub fn getchar_unlocked() -> ::c_int;
522
pub fn putchar_unlocked(c: ::c_int) -> ::c_int;
0 commit comments