Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Log::Dispatch::FileRotUser:Contributed PerlLog::Dispatch::FileRotate::Flock(3)

NAME
       Log::Dispatch::FileRotate::Flock	- File Locking Functions for
       Log::Dispatch::FileRotate

VERSION
       version 1.38

SYNOPSIS
	Internal Use Only!

   DESCRIPTION
       Internal	Use Only!

METHODS
   safe_flock($filehandle, $flags): boolean
       This is a wrapper around	"flock()" that handles things such as
       interruption of the call	by a signal automatically.

   flopen($path): ($filehandle,	$inode)
       This function is	similar	to BSD's "flopen()" function.  It opens	a
       file, obtiains an exclusive lock	on it using "flock()", and handles a
       bunch of	race conditions	that can happen.  It returns the opened
       filehandle and the inode	of the file on success,	nothing	on failure.

SOURCE
       The development version is on github at
       <https://https://github.com/mschout/perl-log-dispatch-filerotate> and
       may be cloned from
       <git://https://github.com/mschout/perl-log-dispatch-filerotate.git>

BUGS
       Please report any bugs or feature requests on the bugtracker website
       <https://github.com/mschout/perl-log-dispatch-filerotate/issues>

       When submitting a bug or	request, please	include	a test-file or a patch
       to an existing test-file	that illustrates the bug or desired feature.

AUTHOR
       Michael Schout <mschout@cpan.org>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2005 by Mark Pfeiffer.

       This is free software; you can redistribute it and/or modify it under
       the same	terms as the Perl 5 programming	language system	itself.

perl v5.32.1			  2021-05-2Log::Dispatch::FileRotate::Flock(3)

NAME | VERSION | SYNOPSIS | METHODS | SOURCE | BUGS | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Log::Dispatch::FileRotate::Flock&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help