Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: What does this mean? "return -$!"

by aitap (Deacon)
on Nov 02, 2012 at 20:42 UTC ( #1002050=note: print w/ replies, xml ) Need Help??


in reply to What does this mean? "return -$!"

$! is the last error from syscall/library call (like errno in C). Fuse functions should return standard error codes in case of errors, and they should be less than zero because positive number can mean a file descriptor or comething else. Thus, -$! is returned as it is (minus) error code from the last system or library call which caused the error.

Sorry if my advice was wrong.


Comment on Re: What does this mean? "return -$!"
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002050]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-08-01 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls