aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2018-01-03 03:31:10 +0300
committerZyX <kp-pav@yandex.ru>2018-01-14 01:33:17 +0300
commitc10ae4bc8548ca170876e00489fb5d907801e553 (patch)
treeac6cb20968f8a339fe1708ee14cdc27f3a9bb3ae /src
parent9ea1752d60589e8fc5e7184144bc6d1c1b9f16a3 (diff)
downloadrneovim-c10ae4bc8548ca170876e00489fb5d907801e553.tar.gz
rneovim-c10ae4bc8548ca170876e00489fb5d907801e553.tar.bz2
rneovim-c10ae4bc8548ca170876e00489fb5d907801e553.zip
os/fileio: Fix some flag names in file_* functions documentation
Diffstat (limited to 'src')
-rw-r--r--src/nvim/os/fileio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/os/fileio.c b/src/nvim/os/fileio.c
index 5d68473982..d294f9139b 100644
--- a/src/nvim/os/fileio.c
+++ b/src/nvim/os/fileio.c
@@ -39,9 +39,9 @@
/// @param[in] fname File name to open.
/// @param[in] flags Flags, @see FileOpenFlags. Currently reading from and
/// writing to the file at once is not supported, so either
-/// FILE_WRITE_ONLY or FILE_READ_ONLY is required.
+/// kFileWriteOnly or kFileReadOnly is required.
/// @param[in] mode Permissions for the newly created file (ignored if flags
-/// does not have FILE_CREATE\*).
+/// does not have kFileCreate\*).
///
/// @return Error code (@see os_strerror()) or 0.
int file_open(FileDescriptor *const ret_fp, const char *const fname,
@@ -120,7 +120,7 @@ int file_open_fd(FileDescriptor *const ret_fp, const int fd, const bool wr)
/// @param[in] fname File name to open.
/// @param[in] flags Flags, @see FileOpenFlags.
/// @param[in] mode Permissions for the newly created file (ignored if flags
-/// does not have FILE_CREATE\*).
+/// does not have kFileCreate\*).
///
/// @return [allocated] Opened file or NULL in case of error.
FileDescriptor *file_open_new(int *const error, const char *const fname,