Commit 1712d3e2 authored by Stelian Ionescu's avatar Stelian Ionescu
Browse files

Add definition of kill(2) to OSICAT-POSIX.

parent 38e68cc7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@
   #:gettimeofday
   #:getuid
   #:ioctl
   #:kill
   #:link
   #:lockf
   #:lseek
+7 −0
Original line number Diff line number Diff line
@@ -271,6 +271,13 @@
    ((pointerp arg) (%ioctl-with-arg fd request arg))
    (t (error "Wrong argument to ioctl: ~S" arg))))

;;;; signal.h

(defsyscall "kill" :int
  "Send signal to a process."
  (pid pid)
  (sig :int))

;;;; sys/mman.h

(defsyscall "mlock" :int