Logo Search packages:      
Sourcecode: fuse version File versions  Download package

int fuse_reply_err ( fuse_req_t  req,
int  err 
)

Reply with an error code or success

Possible requests: all except forget

unlink, rmdir, rename, flush, release, fsync, fsyncdir, setxattr, removexattr and setlk may send a zero code

Parameters:
req request handle
err the positive error value, or zero for success
Returns:
zero for success, -errno for failure to send reply

Definition at line 266 of file fuse_lowlevel.c.

References fuse_reply_err().

Referenced by fuse_reply_entry(), fuse_reply_err(), and fuse_reply_iov().

{
      return send_reply(req, -err, NULL, 0);
}


Generated by  Doxygen 1.6.0   Back to index