unix.process: take raise from unix.ffi

And fix introduced ambiguity between unix.ffi:kill and unix.process:kill
db4
Joe Groff 2011-11-08 10:42:51 -08:00
parent fc7c175c9f
commit 8b9c9a5c63
3 changed files with 3 additions and 4 deletions

View File

@ -168,7 +168,4 @@ FUNCTION: int unlink ( c-string path ) ;
FUNCTION: int utimes ( c-string path, timeval[2] times ) ;
FUNCTION: ssize_t write ( int fd, void* buf, size_t nbytes ) ;
FUNCTION: int kill ( pid_t pid, int signal ) ;
FUNCTION: int raise ( int signal ) ;
"librt" "librt.so" cdecl add-library

View File

@ -40,6 +40,8 @@ FUNCTION: int execve ( c-string path, c-string* argv, c-string* envp ) ;
[ fork-process ] 2dip if-zero ; inline
FUNCTION: int kill ( pid_t pid, int sig ) ;
FUNCTION: int raise ( int sig ) ;
CONSTANT: PRIO_PROCESS 0
CONSTANT: PRIO_PGRP 1

View File

@ -1,5 +1,5 @@
USING: calendar continuations io kernel math namespaces threads
tools.test unix.ffi unix.signals ;
tools.test unix.ffi unix.process unix.signals ;
IN: unix.signals.tests
SYMBOL: sigusr1-count