BSD Ports

devel/p5-File-Sync 0.11p0 OpenBSD

perl interface to the sync() system functions

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

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.

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 and IO::Handle classes.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-File-Sync0.11p0
FreeBSDdevel/p5-File-Sync0.11_1
DragonFlydevel/p5-File-Sync0.11_1
HardenedBSDdevel/p5-File-Sync0.11_1
GhostBSDdevel/p5-File-Sync0.11_1

Install

Binary package:

pkg_add p5-File-Sync

From the ports tree:

cd /usr/ports/devel/p5-File-Sync && make install

Dependencies

Required by 1