From 6feb9cb09d243eb811e301b39dbfbba5863617be Mon Sep 17 00:00:00 2001 From: Said Al Attrach Date: Sat, 30 Mar 2019 18:15:08 +0100 Subject: docs: explicitly state return value on success --- src/nvim/os/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index 81d3b0a2e9..9b9b4581f4 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -649,7 +649,7 @@ ptrdiff_t os_write(const int fd, const char *const buf, const size_t size, /// @param path Path of file to be copied /// @param path_new Path of new file /// @param flags Bitwise OR of flags defined in -/// @return libuv error code on error +/// @return 0 on success, or libuv error code on failure. int os_copy(const char *path, const char *new_path, int flags) { int r; -- cgit