aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fuse_lowlevel.h6
-rw-r--r--include/fuse_lowlevel_compat.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index bdcbfed..f042dfb 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -1177,12 +1177,14 @@ struct fuse_session *fuse_chan_session(struct fuse_chan *ch);
/**
* Receive a raw request
*
+ * A return value of -ENODEV means, that the filesystem was unmounted
+ *
* @param ch the channel
* @param buf the buffer to store the request in
* @param size the size of the buffer
- * @return the actual size of the raw request, or -1 on error
+ * @return the actual size of the raw request, or -errno on error
*/
-int fuse_chan_receive(struct fuse_chan *ch, char *buf, size_t size);
+int fuse_chan_recv(struct fuse_chan *ch, char *buf, size_t size);
/**
* Send a raw reply
diff --git a/include/fuse_lowlevel_compat.h b/include/fuse_lowlevel_compat.h
index f6e116c..be4d4d8 100644
--- a/include/fuse_lowlevel_compat.h
+++ b/include/fuse_lowlevel_compat.h
@@ -88,4 +88,6 @@ struct fuse_session *fuse_lowlevel_new_compat(const char *opts,
const struct fuse_lowlevel_ops *op,
size_t op_size, void *userdata);
+int fuse_chan_receive(struct fuse_chan *ch, char *buf, size_t size);
+
#endif /* __FreeBSD__ */