Skip to content

Commit a410c35

Browse files
authored
Merge pull request #1914 from db48x/add-clearerr
2 parents da0037c + e4eec2a commit a410c35

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)