Log::Di...::Flock(3)
πΈ NAME πΈ
Okay so bestie, welcome to Log::Di...::Flock(3) β this is from User Contributed Perl Documentation, no cap. It's Log::Dispatch::FileRotate::Flock - File Locking Functions for Log::Dispatch::FileRotate. It's giving internal helper energy, iykyk π
.
π VERSION π
version 1.38 β periodt.
β¨ SYNOPSIS β¨
Internal Use Only!
π¦ DESCRIPTION π¦
Internal Use Only! Like literally, vibe check: this is not the public main-character API, bestie. π«Ά
π METHODS π
π safe_flock($filehandle, $flags): boolean
This one is lowkey a wrapper around flock() that handles things such as interruption of the call by a signal automatically. Returns a boolean, per the signature. No cap.
π§ flopen($path): ($filehandle, $inode)
This function is similar to BSD's flopen() function. It opens a file, obtains an exclusive lock on it using flock(), and handles a bunch of race conditions that can happen. On success it returns the opened filehandle and the inode of the file; on failure it returns nothing. Slay.
π 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. Yes, the double https://https:// is literally what's printed, don't come for me π.
π 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. Fr fr, receipts help.
π 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.
xoxo, bestie π this Log::Di...::Flock(3) page is from perl v5.32.1, dated 2021-05-27. Slay and goodbye π
π¦ where this page comes from
- epel 9: perl-Log-Dispatch-FileRotate 1.38-1.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms