aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/memfile.c')
-rw-r--r--src/nvim/memfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/memfile.c b/src/nvim/memfile.c
index fe4d24ba11..0a16f8aafb 100644
--- a/src/nvim/memfile.c
+++ b/src/nvim/memfile.c
@@ -76,7 +76,8 @@
/// @param flags Flags for open() call.
///
-/// @return The open memory file.
+/// @return - The open memory file, on success.
+/// - NULL, on failure (e.g. file does not exist).
memfile_T *mf_open(char_u *fname, int flags)
{
memfile_T *mfp = xmalloc(sizeof(memfile_T));