ffi-libc
Description
Useful Ruby FFI bindings for libc.
Features
- Provides common Structs used in
libc: - Binds to common functions and global variables in
libc:errno.h:sys_errlistsys_nerrerrnounistd.h:brksbrkgetpidgetppidgetuidgeteuidgetgidgetegidstdlib.h:callocmallocfreereallocgetenvputenvunsetenvclearenvtime.h:timesys/time.h:gettimeofdaysettimeofdaysys/resource.h/bits/resource.h:getrusagesys/mman.h:mmapmunmapstring.h:bzeromemsetmemcpymemcmpmemchrmemrchrstrcpystrncpystrlenindexrindexstrchrstrrchrstrstrstrerrorstdio.h:stdinstdoutstderrfopenfdopenfreopenfseekftellrewindfreadfwritefgetcfgetsfputcfputsfflushfcloseclearerrfeofferrorfilenoperrornetdb.h:getnameinfoifaddrs.h:getifaddrsfreeifaddrs
Requirements
- ffi ~> 1.0
Install
$ gem install ffi-libc
License
Copyright (c) 2010-2013 Hal Brodigan
See LICENSE for license information.