/*bin/echo   ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-â
âvi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8                               :viâ
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¡
â Copyright 2020 Justine Alexandra Roberts Tunney                              â
â                                                                              â
â Permission to use, copy, modify, and/or distribute this software for         â
â any purpose with or without fee is hereby granted, provided that the         â
â above copyright notice and this permission notice appear in all copies.      â
â                                                                              â
â THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL                â
â WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED                â
â WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE             â
â AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL         â
â DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR        â
â PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER               â
â TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR             â
â PERFORMANCE OF THIS SOFTWARE.                                                â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ'>/dev/null #*/
dir=libc/sysv/dos2errno
. libc/sysv/gen.sh

# DOS ERRNO MULTIMAPPINGS
#
# These mappings are defined in a decentralized section which are
# grouped at linktime into kDos2Errno. (libc/intrin/kdos2errno.S)
#
dos	kNtErrorInvalidTargetHandle	EBADF
dos	kNtErrorDirectAccessHandle	EBADF
dos	kNtErrorModNotFound             ENOSYS
dos	kNtErrorBadCommand              EACCES
dos	kNtErrorBadLength               EACCES
dos	kNtErrorBadNetpath              ENOENT
dos	kNtErrorBadNetName              ENOENT
dos	kNtErrorBadPathname             ENOENT
dos	kNtErrorBadNetResp              ENETDOWN
dos	kNtErrorFileExists              EEXIST
dos	kNtErrorCannotMake              EACCES
dos	kNtErrorCommitmentLimit         ENOMEM
dos	kNtErrorConnectionAborted	ECONNABORTED
dos	kNtErrorConnectionActive	EISCONN
dos	kNtErrorConnectionRefused	ECONNREFUSED
dos	kNtErrorCrc                     EACCES
dos	kNtErrorDirNotEmpty             ENOTEMPTY
dos	kNtErrorDupName                 EADDRINUSE
dos	kNtErrorFilenameExcedRange	ENAMETOOLONG
dos	kNtErrorGenFailure              EACCES
dos	kNtErrorGracefulDisconnect	EPIPE
dos	kNtErrorHostDown                EHOSTUNREACH
dos	kNtErrorHostUnreachable         EHOSTUNREACH
dos	kNtErrorInsufficientBuffer	EFAULT
dos	kNtErrorNoaccess                EFAULT
dos	kNtErrorInvalidAddress          EADDRNOTAVAIL
dos	kNtErrorNotAReparsePoint	EINVAL
dos	kNtErrorInvalidFunction         EINVAL
dos	kNtErrorNegativeSeek		EINVAL
dos	kNtErrorInvalidNetname          EADDRNOTAVAIL
dos	kNtErrorInvalidUserBuffer	EMSGSIZE
dos	kNtErrorIoPending               EINPROGRESS
dos	kNtErrorLockViolation           EAGAIN
dos	kNtErrorMoreData                EMSGSIZE
dos	kNtErrorNetnameDeleted          ECONNABORTED
dos	kNtErrorNetworkAccessDenied	EACCES
dos	kNtErrorNetworkBusy             ENETDOWN
dos	kNtErrorNetworkUnreachable	ENETUNREACH
dos	kNtErrorNonpagedSystemResources	ENOMEM
dos	kNtErrorNotEnoughMemory         ENOMEM
dos	kNtErrorNotEnoughQuota          ENOMEM
dos	kNtErrorNotFound                ENOENT
dos	kNtErrorNotReady                EACCES
dos	kNtErrorNotSupported            ENOTSUP
dos	kNtErrorNoMoreFiles             ENOENT
dos	kNtErrorNoSystemResources	ENOMEM
dos	kNtErrorOperationAborted	EINTR
dos	kNtErrorOutOfPaper              EACCES
dos	kNtErrorPagedSystemResources	ENOMEM
dos	kNtErrorPagefileQuota           ENOMEM
dos	kNtErrorPipeNotConnected	EPIPE
dos	kNtErrorPortUnreachable         ECONNRESET
dos	kNtErrorProtocolUnreachable	ENETUNREACH
dos	kNtErrorRemNotList              ECONNREFUSED
dos	kNtErrorRequestAborted          EINTR
dos	kNtErrorReqNotAccep             EWOULDBLOCK
dos	kNtErrorSectorNotFound          EACCES
dos	kNtErrorSemTimeout              ETIMEDOUT
dos	kNtErrorSharingViolation	EACCES
dos	kNtErrorTooManyNames            ENOMEM
dos	kNtErrorUnexpNetErr             ECONNABORTED
dos	kNtErrorWorkingSetQuota         ENOMEM
dos	kNtErrorWriteProtect            EACCES
dos	kNtErrorWrongDisk               EACCES
dos	WSAEACCES                       EACCES
dos	WSAEDISCON                      EPIPE
dos	WSAEFAULT                       EFAULT
dos	WSAEINVAL                       EINVAL
dos	WSAEDQUOT                       EDQUOT
dos	WSAEPROCLIM                     ENOMEM
dos	WSANOTINITIALISED               ENETDOWN
dos	WSASYSNOTREADY                  ENETDOWN
dos	WSAVERNOTSUPPORTED              ENOSYS
dos	WSAETIMEDOUT			ETIMEDOUT
