lib/ffi/libc/libc.rb in ffi-libc-0.0.3 vs lib/ffi/libc/libc.rb in ffi-libc-0.0.4

- old
+ new

@@ -62,9 +62,13 @@ attach_function :strrchr, [:string, :int], :string attach_function :strstr, [:string, :string], :string attach_function :strerror, [:int], :string # stdio.h + attach_variable :stdin, :pointer + attach_variable :stdout, :pointer + attach_variable :stderr, :pointer + attach_function :fopen, [:string, :string], :FILE attach_function :fdopen, [:int, :string], :FILE attach_function :freopen, [:string, :string, :FILE], :FILE attach_function :fseek, [:FILE, :long, :int], :int attach_function :ftell, [:FILE], :long