Skip to content
Browse files

Add alarm().

  • Loading branch information...
1 parent 3d515ca commit 6e14c21f04ae78ad816bcb06403f15f718fd609f Al Tobey committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/ffi/libc/libc.rb
View
1 lib/ffi/libc/libc.rb
@@ -32,6 +32,7 @@ def self.raise_error(error=self.errno)
attach_function :geteuid, [], :uid_t
attach_function :getgid, [], :gid_t
attach_function :getegid, [], :gid_t
+ attach_function :alarm, [:uint], :uint
# stdlib.h
attach_function :calloc, [:size_t, :size_t], :buffer_inout

0 comments on commit 6e14c21

Please sign in to comment.
Something went wrong with that request. Please try again.