fcntlfcntl filehandle , function , arg
Calls the file control
function
(with the function-specific
arg
)
to use on the file
or device opened with
filehandle
. This module imports the correct function definitions. See the description of the Fcntl module in Chapter 8, Standard Modules .use Fcntl;
The return value of
Thus Perl returns true on success and false on failure, yet you can still easily determine the actual value returned by the operating system. |
|