Skip to content

Commit

Permalink
sys/unix: Consolidate signal-handling FFI bindings
Browse files Browse the repository at this point in the history
Both c.rs and stack_overflow.rs had bindings of libc's signal-handling
routines. It looks like the split dated from rust-lang#16388, when (what is now)
c.rs was in libnative but not libgreen. Nobody is currently using the
c.rs bindings, but they're a bit more accurate in some places.

Move everything to c.rs (since I'll need signal handling in process.rs,
and we should avoid duplication), clean up the bindings, and manually
double-check everything against the relevant system headers (fixing a
few things in the process).
  • Loading branch information
geofft committed Jun 20, 2015
1 parent bb0b70a commit 25b6f86
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 268 deletions.
Loading

0 comments on commit 25b6f86

Please sign in to comment.