Name : perl-File-Sync
| |
Version : 0.11
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.2.1
| Date : 2023-07-20 16:55:47
|
Group : Development/Libraries/Perl
| Source RPM : perl-File-Sync-0.11-lp155.2.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Perl access to fsync() and sync() function calls
|
Description :
The fsync() function takes a Perl file handle as its only argument, and passes its fileno() to the C function fsync(). It returns _undef_ on failure, or _true_ on success. fdatasync() is identical in return value, but it calls C fdatasync() instead of fsync(), synchronizing only the data in the file, not the metadata.
The fsync_fd() function is used internally by fsync(); it takes a file descriptor as its only argument.
The sync() function is identical to the C function sync().
This module does *not* export any methods by default, but fsync() is made available as a method of the _FileHandle_ class. Note carefully that as of 0.11, we no longer clobber anything in _IO::Handle_. You can replace any calls to IO::Handle::fsync() with IO::Handle::sync(): https://rt.cpan.org/Public/Bug/Display.html?id=50418
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-F/15.5/x86_64 |