Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
unix, windows: map EFBIG errno
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Feb 14, 2014
1 parent c8e4db6 commit 107be2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/uv-errno.h
Expand Up @@ -370,4 +370,10 @@
# define UV__EXDEV (-4037)
#endif

#if defined(EFBIG) && !defined(_WIN32)
# define UV__EFBIG (-EFBIG)
#else
# define UV__EFBIG (-4036)
#endif

#endif /* UV_ERRNO_H_ */
1 change: 1 addition & 0 deletions include/uv.h
Expand Up @@ -94,6 +94,7 @@ extern "C" {
XX(EDESTADDRREQ, "destination address required") \
XX(EEXIST, "file already exists") \
XX(EFAULT, "bad address in system call argument") \
XX(EFBIG, "file too large") \
XX(EHOSTUNREACH, "host is unreachable") \
XX(EINTR, "interrupted system call") \
XX(EINVAL, "invalid argument") \
Expand Down

0 comments on commit 107be2b

Please sign in to comment.