diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2001-12-03 10:27:29 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2001-12-03 10:27:29 +0000 |
commit | e9ba5c43f3eb2fab159985d6babfc4a669512a16 (patch) | |
tree | e3c1b7e462fbe28540fd5d6eed402cc6db62694e /otherlibs/win32unix/unixsupport.c | |
parent | e79a1b8571c5add7f62b89e52ba3e7faac28b463 (diff) | |
download | ocaml-e9ba5c43f3eb2fab159985d6babfc4a669512a16.tar.gz |
More Winsock2 error codes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/unixsupport.c')
-rw-r--r-- | otherlibs/win32unix/unixsupport.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/otherlibs/win32unix/unixsupport.c b/otherlibs/win32unix/unixsupport.c index ac2180f315..ca7fe2147e 100644 --- a/otherlibs/win32unix/unixsupport.c +++ b/otherlibs/win32unix/unixsupport.c @@ -111,6 +111,15 @@ static struct error_entry win_error_table[] = { ERROR_SHARING_BUFFER_EXCEEDED - ERROR_WRITE_PROTECT, EACCES }, { WSAEINVAL, 0, EINVAL }, + { WSAEACCES, 0, EACCES }, + { WSAEBADF, 0, EBADF }, + { WSAEFAULT, 0, EFAULT }, + { WSAEINTR, 0, EINTR }, + { WSAEINVAL, 0, EINVAL }, + { WSAEMFILE, 0, EMFILE }, + { WSANAMETOOLONG, 0, ENAMETOOLONG }, + { WSAENFILE, 0, ENFILE }, + { WSAENOTEMPTY, 0, ENOTEMPTY }, { 0, -1, 0 } }; |