mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
docs: explicitly state return value on success
This commit is contained in:
@@ -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 Path of file to be copied
|
||||||
/// @param path_new Path of new file
|
/// @param path_new Path of new file
|
||||||
/// @param flags Bitwise OR of flags defined in <uv.h>
|
/// @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 os_copy(const char *path, const char *new_path, int flags)
|
||||||
{
|
{
|
||||||
int r;
|
int r;
|
||||||
|
Reference in New Issue
Block a user