clean up a bit

This commit is contained in:
Mark McCaskey 2019-03-20 15:24:05 -07:00
parent 42b122d639
commit d13e4aa71f

View File

@ -25,7 +25,6 @@ use libc::{
in_addr_t, in_addr_t,
in_port_t, in_port_t,
ioctl, ioctl,
kill,
lchown, lchown,
link, link,
// iovec, // iovec,
@ -249,10 +248,10 @@ pub fn ___syscall41(ctx: &mut Ctx, _which: c_int, mut varargs: VarArgs) -> c_int
unsafe { dup(fd) } unsafe { dup(fd) }
} }
// tkill? REVIEW: double check this, truncate on OSX? /// getgid
pub fn ___syscall200(_ctx: &mut Ctx, pid: pid_t, sig: c_int) -> i32 { pub fn ___syscall200(_ctx: &mut Ctx, _one: i32, _two: i32) -> i32 {
debug!("emscripten::___syscall200 (tkill)"); debug!("emscripten::___syscall200 (getgid)");
unsafe { kill(pid, sig) } unsafe { getgid() as i32 }
} }
// getgid // getgid