Skip to content

Commit 2d86489

Browse files
committed
Auto merge of rust-lang#466 - shahn:clearenv, r=alexcrichton
Add clearenv()
2 parents a73910c + 3cb1e4a commit 2d86489

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/notbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,7 @@ extern {
873873
pub fn ptsname_r(fd: ::c_int,
874874
buf: *mut ::c_char,
875875
buflen: ::size_t) -> ::c_int;
876+
pub fn clearenv() -> ::c_int;
876877
}
877878

878879
cfg_if! {

0 commit comments

Comments
 (0)