README.md in ffi-libc-0.0.5 vs README.md in ffi-libc-0.1.0

- old
+ new

@@ -1,28 +1,30 @@ # ffi-libc -* [Source](http://github.com/postmodern/ffi-libc/) -* [Issues](http://github.com/postmodern/ffi-libc/issues) +* [Source](https://github.com/postmodern/ffi-libc/) +* [Issues](https://github.com/postmodern/ffi-libc/issues) * [Documentation](http://rubydoc.info/gems/ffi-libc) * [Email](postmodern.mod3 at gmail.com) ## Description Useful Ruby FFI bindings for `libc`. ## Features * Provides common Structs used in `libc`: + * {FFI::LibC::Ifaddrs} * {FFI::LibC::In6Addr} * {FFI::LibC::InAddr} - * {FFI::LibC::SockAddrDL} - * {FFI::LibC::SockAddrFamily} - * {FFI::LibC::SockAddrIn6} - * {FFI::LibC::SockAddrIn} - * {FFI::LibC::SockAddr} + * {FFI::LibC::SockaddrDL} + * {FFI::LibC::SockaddrFamily} + * {FFI::LibC::SockaddrIn6} + * {FFI::LibC::SockaddrIn} + * {FFI::LibC::Sockaddr} * {FFI::LibC::Timeval} * {FFI::LibC::Timezone} + * {FFI::LibC::RUsage} * Binds to common functions and global variables in `libc`: * `errno.h`: * `sys_errlist` * `sys_nerr` * `errno` @@ -47,10 +49,12 @@ * `time.h`: * `time` * `sys/time.h`: * `gettimeofday` * `settimeofday` + * `sys/resource.h` / `bits/resource.h`: + * `getrusage` * `sys/mman.h`: * `mmap` * `munmap` * `string.h`: * `bzero` @@ -89,19 +93,26 @@ * `clearerr` * `feof` * `ferror` * `fileno` * `perror` + * `netdb.h`: + * `getnameinfo` + * `ifaddrs.h`: + * `getifaddrs` + * `freeifaddrs` ## Requirements -* [ffi](http://github.com/ffi/ffi) >= 0.6.0, <= 1.1.0 +* [ffi] ~> 1.0 ## Install - $ sudo gem install ffi-libc + $ gem install ffi-libc ## License -Copyright (c) 2010-2011 Hal Brodigan +Copyright (c) 2010-2013 Hal Brodigan See {file:LICENSE.txt} for license information. + +[ffi]: https://github.com/ffi/ffi#readme