ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.pm
(Generate patch)

Comparing IO-AIO/AIO.pm (file contents):
Revision 1.106 by root, Fri Jun 1 05:51:21 2007 UTC vs.
Revision 1.107 by root, Fri Jun 1 05:52:59 2007 UTC

417utime(2). If called on a file descriptor, uses futimes(2) if available, 417utime(2). If called on a file descriptor, uses futimes(2) if available,
418otherwise returns ENOSYS, so this is not portable. 418otherwise returns ENOSYS, so this is not portable.
419 419
420Examples: 420Examples:
421 421
422 # set atime and mtime to current time: 422 # set atime and mtime to current time (basically touch(1)):
423 aio_utime "path", undef, undef; 423 aio_utime "path", undef, undef;
424 # set atime to current time and mtime to beginning of the epoch: 424 # set atime to current time and mtime to beginning of the epoch:
425 aio_utime "path", time, undef; # undef==0 425 aio_utime "path", time, undef; # undef==0
426 426
427 427

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines