Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
6f7983c4
Commit
6f7983c4
authored
10 years ago
by
Dmitry E. Oboukhov
Browse files
Options
Downloads
Patches
Plain Diff
ifdef all errno constants (fix FreeBSD build error)
parent
e653835c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lua/errno.c
+159
-0
159 additions, 0 deletions
src/lua/errno.c
with
159 additions
and
0 deletions
src/lua/errno.c
+
159
−
0
View file @
6f7983c4
...
...
@@ -41,85 +41,244 @@ void
tarantool_lua_errno_init
(
struct
lua_State
*
L
)
{
static
const
struct
{
char
name
[
32
];
int
value
;
}
elist
[]
=
{
#ifdef E2BIG
{
"E2BIG"
,
E2BIG
},
#endif
#ifdef EACCES
{
"EACCES"
,
EACCES
},
#endif
#ifdef EADDRINUSE
{
"EADDRINUSE"
,
EADDRINUSE
},
#endif
#ifdef EADDRNOTAVAIL
{
"EADDRNOTAVAIL"
,
EADDRNOTAVAIL
},
#endif
#ifdef EAFNOSUPPORT
{
"EAFNOSUPPORT"
,
EAFNOSUPPORT
},
#endif
#ifdef EAGAIN
{
"EAGAIN"
,
EAGAIN
},
#endif
#ifdef EALREADY
{
"EALREADY"
,
EALREADY
},
#endif
#ifdef EBADF
{
"EBADF"
,
EBADF
},
#endif
#ifdef EBADMSG
{
"EBADMSG"
,
EBADMSG
},
#endif
#ifdef EBUSY
{
"EBUSY"
,
EBUSY
},
#endif
#ifdef ECANCELED
{
"ECANCELED"
,
ECANCELED
},
#endif
#ifdef ECHILD
{
"ECHILD"
,
ECHILD
},
#endif
#ifdef ECONNABORTED
{
"ECONNABORTED"
,
ECONNABORTED
},
#endif
#ifdef ECONNREFUSED
{
"ECONNREFUSED"
,
ECONNREFUSED
},
#endif
#ifdef ECONNRESET
{
"ECONNRESET"
,
ECONNRESET
},
#endif
#ifdef EDEADLK
{
"EDEADLK"
,
EDEADLK
},
#endif
#ifdef EDESTADDRREQ
{
"EDESTADDRREQ"
,
EDESTADDRREQ
},
#endif
#ifdef EDOM
{
"EDOM"
,
EDOM
},
#endif
#ifdef EDQUOT
{
"EDQUOT"
,
EDQUOT
},
#endif
#ifdef EEXIST
{
"EEXIST"
,
EEXIST
},
#endif
#ifdef EFAULT
{
"EFAULT"
,
EFAULT
},
#endif
#ifdef EFBIG
{
"EFBIG"
,
EFBIG
},
#endif
#ifdef EHOSTUNREACH
{
"EHOSTUNREACH"
,
EHOSTUNREACH
},
#endif
#ifdef EIDRM
{
"EIDRM"
,
EIDRM
},
#endif
#ifdef EILSEQ
{
"EILSEQ"
,
EILSEQ
},
#endif
#ifdef EINPROGRESS
{
"EINPROGRESS"
,
EINPROGRESS
},
#endif
#ifdef EINTR
{
"EINTR"
,
EINTR
},
#endif
#ifdef EINVAL
{
"EINVAL"
,
EINVAL
},
#endif
#ifdef EIO
{
"EIO"
,
EIO
},
#endif
#ifdef EISCONN
{
"EISCONN"
,
EISCONN
},
#endif
#ifdef EISDIR
{
"EISDIR"
,
EISDIR
},
#endif
#ifdef ELOOP
{
"ELOOP"
,
ELOOP
},
#endif
#ifdef EMFILE
{
"EMFILE"
,
EMFILE
},
#endif
#ifdef EMLINK
{
"EMLINK"
,
EMLINK
},
#endif
#ifdef EMSGSIZE
{
"EMSGSIZE"
,
EMSGSIZE
},
#endif
#ifdef EMULTIHOP
{
"EMULTIHOP"
,
EMULTIHOP
},
#endif
#ifdef ENAMETOOLONG
{
"ENAMETOOLONG"
,
ENAMETOOLONG
},
#endif
#ifdef ENETDOWN
{
"ENETDOWN"
,
ENETDOWN
},
#endif
#ifdef ENETRESET
{
"ENETRESET"
,
ENETRESET
},
#endif
#ifdef ENETUNREACH
{
"ENETUNREACH"
,
ENETUNREACH
},
#endif
#ifdef ENFILE
{
"ENFILE"
,
ENFILE
},
#endif
#ifdef ENOBUFS
{
"ENOBUFS"
,
ENOBUFS
},
#endif
#ifdef ENODATA
{
"ENODATA"
,
ENODATA
},
#endif
#ifdef ENODEV
{
"ENODEV"
,
ENODEV
},
#endif
#ifdef ENOENT
{
"ENOENT"
,
ENOENT
},
#endif
#ifdef ENOEXEC
{
"ENOEXEC"
,
ENOEXEC
},
#endif
#ifdef ENOLCK
{
"ENOLCK"
,
ENOLCK
},
#endif
#ifdef ENOLINK
{
"ENOLINK"
,
ENOLINK
},
#endif
#ifdef ENOMEM
{
"ENOMEM"
,
ENOMEM
},
#endif
#ifdef ENOMSG
{
"ENOMSG"
,
ENOMSG
},
#endif
#ifdef ENOPROTOOPT
{
"ENOPROTOOPT"
,
ENOPROTOOPT
},
#endif
#ifdef ENOSPC
{
"ENOSPC"
,
ENOSPC
},
#endif
#ifdef ENOSR
{
"ENOSR"
,
ENOSR
},
#endif
#ifdef ENOSTR
{
"ENOSTR"
,
ENOSTR
},
#endif
#ifdef ENOSYS
{
"ENOSYS"
,
ENOSYS
},
#endif
#ifdef ENOTCONN
{
"ENOTCONN"
,
ENOTCONN
},
#endif
#ifdef ENOTDIR
{
"ENOTDIR"
,
ENOTDIR
},
#endif
#ifdef ENOTEMPTY
{
"ENOTEMPTY"
,
ENOTEMPTY
},
#endif
#ifdef ENOTSOCK
{
"ENOTSOCK"
,
ENOTSOCK
},
#endif
#ifdef ENOTSUP
{
"ENOTSUP"
,
ENOTSUP
},
#endif
#ifdef ENOTTY
{
"ENOTTY"
,
ENOTTY
},
#endif
#ifdef ENXIO
{
"ENXIO"
,
ENXIO
},
#endif
#ifdef EOPNOTSUPP
{
"EOPNOTSUPP"
,
EOPNOTSUPP
},
#endif
#ifdef EOVERFLOW
{
"EOVERFLOW"
,
EOVERFLOW
},
#endif
#ifdef EPERM
{
"EPERM"
,
EPERM
},
#endif
#ifdef EPIPE
{
"EPIPE"
,
EPIPE
},
#endif
#ifdef EPROTO
{
"EPROTO"
,
EPROTO
},
#endif
#ifdef EPROTONOSUPPORT
{
"EPROTONOSUPPORT"
,
EPROTONOSUPPORT
},
#endif
#ifdef EPROTOTYPE
{
"EPROTOTYPE"
,
EPROTOTYPE
},
#endif
#ifdef ERANGE
{
"ERANGE"
,
ERANGE
},
#endif
#ifdef EROFS
{
"EROFS"
,
EROFS
},
#endif
#ifdef ESPIPE
{
"ESPIPE"
,
ESPIPE
},
#endif
#ifdef ESRCH
{
"ESRCH"
,
ESRCH
},
#endif
#ifdef ESTALE
{
"ESTALE"
,
ESTALE
},
#endif
#ifdef ETIME
{
"ETIME"
,
ETIME
},
#endif
#ifdef ETIMEDOUT
{
"ETIMEDOUT"
,
ETIMEDOUT
},
#endif
#ifdef ETXTBSY
{
"ETXTBSY"
,
ETXTBSY
},
#endif
#ifdef EWOULDBLOCK
{
"EWOULDBLOCK"
,
EWOULDBLOCK
},
#endif
#ifdef EXDEV
{
"EXDEV"
,
EXDEV
},
#endif
{
""
,
0
}
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment