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 #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 22, 2015
1 parent e136421 commit 56d904c
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 268 deletions.

0 comments on commit 56d904c

Please sign in to comment.