|on Aug 24, 1999 at 22:42 UTC||Need Help??|
See the current Perl documentation for fcntl.
Here is our local, out-dated (pre-5.6) version:
fcntl - file control system all
first to get the correct constant definitions. Argument processing and value return works just like ioctl() below. For example:
use Fcntl; fcntl($filehandle, F_GETFL, $packed_return_buffer) or die "can't fcntl F_GETFL: $!";
You don't have to check for defined() on the return from
Note that fcntl() will produce a fatal error if used on a machine that doesn't implement