Linux::FD(3pm)
π Linux::FD π
okay bestie, so this is Linux::FD β the Linux-specific special filehandles situation. it's a Perl module, it lives in the User Contributed Perl Documentation section, and the manual page is Linux::FD(3pm). yes we're fancy. π
β¨ VERSION β¨
this is version 0.017. iconic number, no notes.
π¦ DESCRIPTION π¦
so here's the vibe: Linux::FD gives you Linux-specific special file handles. that's literally the whole personality. these are:
- Event filehandles π
- Signal filehandles πΈ
- Timer filehandles β°
and the reason they slay is that they let you use conventional polling mechanisms to wait for a whole big variety of events. like, you just poll. that's it. that's the trick. the way that works is genuinely so satisfying fr fr. π«Ά
π§ FUNCTIONS π§
eventfd($initial_value, @flags) π«
this one creates an eventfd handle. if you wanna know more about it, go read Linux::FD::Event β it's got the whole lore. π
signalfd($sigset) π¦
this one creates a signalfd handle. more details live in Linux::FD::Signal, so go peek at that. β¨
timerfd($clock_id) β°
and this one creates a timerfd handle. the deep dive is in Linux::FD::Timer if you're feeling curious. π
π AUTHOR π
Leon Timmermans <leont@cpan.org> β the icon, the legend, the main character who wrote all of this. bow down. πββοΈ
π COPYRIGHT AND LICENSE π
so legally speaking: this software is copyright (c) 2010 by Leon Timmermans.
and it's free software β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. π
that's the whole license, bestie. it's short, it's sweet, it's the Perl 5 terms. don't overthink it.
okay that's the whole page!! π this was Linux::FD from the User Contributed Perl Documentation, written by Leon Timmermans, and this particular rendering comes from perl v5.40.1 dated 2025-04-19. go poll something and make it everyone's problem. slay!! π¦β¨π
π¦ where this page comes from
- debian trixie: liblinux-fd-perl 0.017-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liblinux-fd-perl 0.017-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms