diff options
Diffstat (limited to 'ext/fcntl')
-rw-r--r-- | ext/fcntl/fcntl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fcntl/fcntl.c b/ext/fcntl/fcntl.c index fdb9f82b1e..b0992f30d8 100644 --- a/ext/fcntl/fcntl.c +++ b/ext/fcntl/fcntl.c @@ -42,7 +42,7 @@ pack up your own arguments to pass as args for locking functions, etc. * Documented by mathew <meta@pobox.com> * * = Usage - * + * * To perform a fcntl(2) operation, use IO::fcntl in the core classes. * * To perform an open(2) operation, use IO::sysopen. @@ -99,10 +99,10 @@ pack up your own arguments to pass as args for locking functions, etc. * - O_ACCMODE - mask to extract read/write flags. * * Example: - * + * * require 'fcntl' * - * fd = IO::sysopen('/tmp/tempfile', + * fd = IO::sysopen('/tmp/tempfile', * Fcntl::O_WRONLY | Fcntl::O_EXCL | Fcntl::O_CREAT) * f = IO.open(fd) * f.syswrite("TEMP DATA") |