codeslinger / sendfile
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
sendfile /
| name | age | message | |
|---|---|---|---|
| |
ChangeLog | Sat Dec 27 10:11:11 -0800 2008 | |
| |
FILES | Sat Dec 27 10:11:11 -0800 2008 | |
| |
LICENSE | Sat Dec 27 10:11:11 -0800 2008 | |
| |
README.textile | Sat Dec 27 10:22:43 -0800 2008 | |
| |
ext/ | Sat Dec 27 10:11:11 -0800 2008 | |
| |
sendfile.gemspec | Sat Dec 27 10:11:11 -0800 2008 | |
| |
test/ | Sat Dec 27 10:11:11 -0800 2008 |
README.textile
Ruby sendfile(2) Interface
This module allows Ruby programs to access their OS’s native
sendfile(2) system call from any IO object. Your kernel must
export a recognized signature for the sendfile(2) system call
to use this module. Currently, that includes Linux, Solaris
and FreeBSD.
Installation
Download and install the latest package from the rubyforge.org
RubyGems repository.
If the tests all pass, you’re ready to start using sendfile.
Usage
Here’s a small example of a use of IO#sendfile.
See the test scripts for more examples on how to use this
module.
