summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-08 04:34:01 +0900
committerGitHub <noreply@github.com>2020-10-08 04:34:01 +0900
commita410c35f11e93248ebff0b3e127808ec4cfc65b7 (patch)
tree53d6165d33f087f68cf4d88b13ce0f7a3010cd88
parentda0037cb532a01049aebd38003525bba42379a3b (diff)
parente4eec2a1c5dfb0564738ba453e0a48c9e3e65f43 (diff)
downloadrust-libc-a410c35f11e93248ebff0b3e127808ec4cfc65b7.tar.gz
Merge pull request #1914 from db48x/add-clearerr
-rw-r--r--src/unix/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index 21439c8a49..ef24a1cb33 100644
--- a/src/unix/mod.rs
+++ b/src/unix/mod.rs
@@ -508,6 +508,7 @@ extern "C" {
pub fn fsetpos(stream: *mut FILE, ptr: *const fpos_t) -> c_int;
pub fn feof(stream: *mut FILE) -> c_int;
pub fn ferror(stream: *mut FILE) -> c_int;
+ pub fn clearerr(stream: *mut FILE);
pub fn perror(s: *const c_char);
pub fn atoi(s: *const c_char) -> c_int;
#[cfg_attr(