diff options
author | Said Al Attrach <alattrach.said@yahoo.com> | 2019-03-30 18:15:08 +0100 |
---|---|---|
committer | Said Al Attrach <alattrach.said@yahoo.com> | 2019-03-30 18:15:08 +0100 |
commit | 6feb9cb09d243eb811e301b39dbfbba5863617be (patch) | |
tree | 5cde7a705f0ef105427a85b71fba596cd43bb22a /src | |
parent | 2bf18e7843542dd4ba3bfaa3b09078401bfb6b7b (diff) | |
download | rneovim-6feb9cb09d243eb811e301b39dbfbba5863617be.tar.gz rneovim-6feb9cb09d243eb811e301b39dbfbba5863617be.tar.bz2 rneovim-6feb9cb09d243eb811e301b39dbfbba5863617be.zip |
docs: explicitly state return value on success
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/os/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <uv.h> -/// @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; |