GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Log::Dispatch::FileRotate::Flock(3) User Contributed Perl Documentation Log::Dispatch::FileRotate::Flock(3)

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

version 1.38

 Internal Use Only!

Internal Use Only!

This is a wrapper around "flock()" that handles things such as interruption of the call by a signal automatically.

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.

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>

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.

Michael Schout <mschout@cpan.org>

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.

2021-05-26 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.