Skip to content

Commit e4eec2a

Browse files
committed
add clearerr
1 parent 1818abf commit e4eec2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ extern "C" {
508508
pub fn fsetpos(stream: *mut FILE, ptr: *const fpos_t) -> c_int;
509509
pub fn feof(stream: *mut FILE) -> c_int;
510510
pub fn ferror(stream: *mut FILE) -> c_int;
511+
pub fn clearerr(stream: *mut FILE);
511512
pub fn perror(s: *const c_char);
512513
pub fn atoi(s: *const c_char) -> c_int;
513514
#[cfg_attr(

0 commit comments

Comments
 (0)