ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.pm
(Generate patch)

Comparing IO-AIO/AIO.pm (file contents):
Revision 1.313 by root, Sat Sep 4 21:21:14 2021 UTC vs.
Revision 1.314 by root, Sat Apr 9 19:34:05 2022 UTC

2485C<undef>. If the memfd_create syscall is missing, fails with C<ENOSYS>. 2485C<undef>. If the memfd_create syscall is missing, fails with C<ENOSYS>.
2486 2486
2487Please refer to L<memfd_create(2)> for more info on this call. 2487Please refer to L<memfd_create(2)> for more info on this call.
2488 2488
2489The following C<$flags> values are available: C<IO::AIO::MFD_CLOEXEC>, 2489The following C<$flags> values are available: C<IO::AIO::MFD_CLOEXEC>,
2490C<IO::AIO::MFD_ALLOW_SEALING> and C<IO::AIO::MFD_HUGETLB>. 2490C<IO::AIO::MFD_ALLOW_SEALING>, C<IO::AIO::MFD_HUGETLB>,
2491C<IO::AIO::MFD_HUGETLB_2MB> and C<IO::AIO::MFD_HUGETLB_1GB>.
2491 2492
2492Example: create a new memfd. 2493Example: create a new memfd.
2493 2494
2494 my $fh = IO::AIO::memfd_create "somenameforprocfd", IO::AIO::MFD_CLOEXEC 2495 my $fh = IO::AIO::memfd_create "somenameforprocfd", IO::AIO::MFD_CLOEXEC
2495 or die "memfd_create: $!\n"; 2496 or die "memfd_create: $!\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines