1Log::Dispatch::FileRotaUtsee:r:FCloonctkr(i3b)uted PerlLDoogc:u:mDeinstpaatticohn::FileRotate::Flock(3)
2
3
4
6 Log::Dispatch::FileRotate::Flock - File Locking Functions for
7 Log::Dispatch::FileRotate
8
10 version 1.38
11
13 Internal Use Only!
14
15 DESCRIPTION
16 Internal Use Only!
17
19 safe_flock($filehandle, $flags): boolean
20 This is a wrapper around "flock()" that handles things such as
21 interruption of the call by a signal automatically.
22
23 flopen($path): ($filehandle, $inode)
24 This function is similar to BSD's "flopen()" function. It opens a
25 file, obtiains an exclusive lock on it using "flock()", and handles a
26 bunch of race conditions that can happen. It returns the opened
27 filehandle and the inode of the file on success, nothing on failure.
28
30 The development version is on github at
31 <https://https://github.com/mschout/perl-log-dispatch-filerotate> and
32 may be cloned from
33 <git://https://github.com/mschout/perl-log-dispatch-filerotate.git>
34
36 Please report any bugs or feature requests on the bugtracker website
37 <https://github.com/mschout/perl-log-dispatch-filerotate/issues>
38
39 When submitting a bug or request, please include a test-file or a patch
40 to an existing test-file that illustrates the bug or desired feature.
41
43 Michael Schout <mschout@cpan.org>
44
46 This software is copyright (c) 2005 by Mark Pfeiffer.
47
48 This is free software; you can redistribute it and/or modify it under
49 the same terms as the Perl 5 programming language system itself.
50
51
52
53perl v5.36.0 2022-07-22Log::Dispatch::FileRotate::Flock(3)