os/fs: Define os_strerror as an alias to uv_strerror

It is not needed to know that os/* uses libuv.
This commit is contained in:
ZyX 2015-07-17 17:54:44 +03:00
parent 57d3a2a52f
commit c71dca0cbd

View File

@ -21,4 +21,9 @@ typedef struct {
uv_dirent_t ent; ///< @private The entry information. uv_dirent_t ent; ///< @private The entry information.
} Directory; } Directory;
/// Function to convert -errno error to char * error description
///
/// -errno errors are returned by a number of os functions.
#define os_strerror uv_strerror
#endif // NVIM_OS_FS_DEFS_H #endif // NVIM_OS_FS_DEFS_H