docs: explicitly state return value on success

This commit is contained in:
Said Al Attrach
2019-03-30 18:15:08 +01:00
parent 2bf18e7843
commit 6feb9cb09d

View File

@@ -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;