initial import of p5-File-Sync-0.009

provides a perl interface to the family of sync() syscalls
This commit is contained in:
avsm 2004-01-15 14:15:21 +00:00
parent d169964ae2
commit d3c2109866
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/01/15 14:15:21 avsm Exp $
COMMENT= "perl interface to the sync() system functions"
V= 0.09
DISTNAME= File-Sync-${V}
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
# same as perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (File-Sync-0.09.tar.gz) = 4f5aca0ccff4bf28ca1d039e5ed01fa2
RMD160 (File-Sync-0.09.tar.gz) = 86b7d1ac8d98c3d459b5c95887e7fc6921d44a71
SHA1 (File-Sync-0.09.tar.gz) = a6fa11f6e4808340c092f905370571fa288e7a70

View File

@ -0,0 +1,11 @@
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.

View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/01/15 14:15:21 avsm Exp $
${P5ARCH}/File/Sync.pm
@comment ${P5ARCH}/auto/File/Sync/.packlist
${P5ARCH}/auto/File/Sync/Sync.bs
${P5ARCH}/auto/File/Sync/Sync.so
${P5ARCH}/auto/File/Sync/autosplit.ix
man/man3p/File::Sync.3p
@dirrm man/man3p
@dirrm ${P5ARCH}/auto/File/Sync
@dirrm ${P5ARCH}/auto/File
@dirrm ${P5ARCH}/auto
@dirrm ${P5ARCH}/File
@dirrm ${P5ARCH}