summaryrefslogtreecommitdiff
path: root/libc/src/unix/newlib/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/unix/newlib/mod.rs')
-rw-r--r--libc/src/unix/newlib/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/src/unix/newlib/mod.rs b/libc/src/unix/newlib/mod.rs
index 77a4eb9..0cc411d 100644
--- a/libc/src/unix/newlib/mod.rs
+++ b/libc/src/unix/newlib/mod.rs
@@ -728,6 +728,7 @@ extern {
link_name = "popen$UNIX2003")]
pub fn popen(command: *const c_char,
mode: *const c_char) -> *mut ::FILE;
+ pub fn uname(buf: *mut ::utsname) -> ::c_int;
}
cfg_if! {