diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-31 16:56:02 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-18 14:51:54 -0700 |
| commit | dd2eda5a90ab86bbde1a9da481a423d367586a73 (patch) | |
| tree | 1eeababc022654f68f95818060277b51110862dd /src/platform | |
| parent | 7f8d3a898169eabb1f515e3206c762812ea4b475 (diff) | |
| download | nng-dd2eda5a90ab86bbde1a9da481a423d367586a73.tar.gz nng-dd2eda5a90ab86bbde1a9da481a423d367586a73.tar.bz2 nng-dd2eda5a90ab86bbde1a9da481a423d367586a73.zip | |
Add new errnos we might need.
Diffstat (limited to 'src/platform')
| -rw-r--r-- | src/platform/posix/posix_debug.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/platform/posix/posix_debug.c b/src/platform/posix/posix_debug.c index 647d93ff..4af224c4 100644 --- a/src/platform/posix/posix_debug.c +++ b/src/platform/posix/posix_debug.c @@ -81,6 +81,12 @@ static struct { #endif { ETIMEDOUT, NNG_ETIMEDOUT }, { EWOULDBLOCK, NNG_EAGAIN }, + { ENOSPC, NNG_ENOSPC }, + { EFBIG, NNG_ENOSPC }, + { EDQUOT, NNG_ENOSPC }, + { ENFILE, NNG_ENOFILES }, + { EMFILE, NNG_ENOFILES }, + { EEXIST, NNG_EEXIST }, // must be last { 0, 0 }, // clang-format on |
