From e9ba5c43f3eb2fab159985d6babfc4a669512a16 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Mon, 3 Dec 2001 10:27:29 +0000 Subject: More Winsock2 error codes git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/win32unix/unixsupport.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'otherlibs/win32unix/unixsupport.c') diff --git a/otherlibs/win32unix/unixsupport.c b/otherlibs/win32unix/unixsupport.c index ac2180f31..ca7fe2147 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 } }; -- cgit v1.2.3-70-g09d2