os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/compat/tclErrno.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/compat/tclErrno.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,99 @@
1.4 +/*
1.5 + * tclErrno.h --
1.6 + *
1.7 + * This header file contains the various POSIX errno definitions that
1.8 + * are used by Tcl. This file is derived from the spec POSIX 2.4 and
1.9 + * previous implementations for Berkeley UNIX.
1.10 + *
1.11 + * Copyright (c) 1982, 1986, 1989 Regents of the University of California.
1.12 + * Copyright (c) 1996 Sun Microsystems, Inc.
1.13 + *
1.14 + * See the file "license.terms" for information on usage and redistribution
1.15 + * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1.16 + *
1.17 + * RCS: @(#) $Id: tclErrno.h,v 1.3 2002/06/07 08:50:22 dkf Exp $
1.18 + */
1.19 +
1.20 +extern int errno; /* global error number */
1.21 +
1.22 +#define EPERM 1 /* Operation not permitted */
1.23 +#define ENOENT 2 /* No such file or directory */
1.24 +#define ESRCH 3 /* No such process */
1.25 +#define EINTR 4 /* Interrupted system call */
1.26 +#define EIO 5 /* Input/output error */
1.27 +#define ENXIO 6 /* Device not configured */
1.28 +#define E2BIG 7 /* Argument list too long */
1.29 +#define ENOEXEC 8 /* Exec format error */
1.30 +#define EBADF 9 /* Bad file descriptor */
1.31 +#define ECHILD 10 /* No child processes */
1.32 +#define EDEADLK 11 /* Resource deadlock avoided */
1.33 + /* 11 was EAGAIN */
1.34 +#define ENOMEM 12 /* Cannot allocate memory */
1.35 +#define EACCES 13 /* Permission denied */
1.36 +#define EFAULT 14 /* Bad address */
1.37 +#define ENOTBLK 15 /* Block device required */
1.38 +#define EBUSY 16 /* Device busy */
1.39 +#define EEXIST 17 /* File exists */
1.40 +#define EXDEV 18 /* Cross-device link */
1.41 +#define ENODEV 19 /* Operation not supported by device */
1.42 +#define ENOTDIR 20 /* Not a directory */
1.43 +#define EISDIR 21 /* Is a directory */
1.44 +#define EINVAL 22 /* Invalid argument */
1.45 +#define ENFILE 23 /* Too many open files in system */
1.46 +#define EMFILE 24 /* Too many open files */
1.47 +#define ENOTTY 25 /* Inappropriate ioctl for device */
1.48 +#define ETXTBSY 26 /* Text file busy */
1.49 +#define EFBIG 27 /* File too large */
1.50 +#define ENOSPC 28 /* No space left on device */
1.51 +#define ESPIPE 29 /* Illegal seek */
1.52 +#define EROFS 30 /* Read-only file system */
1.53 +#define EMLINK 31 /* Too many links */
1.54 +#define EPIPE 32 /* Broken pipe */
1.55 +#define EDOM 33 /* Numerical argument out of domain */
1.56 +#define ERANGE 34 /* Result too large */
1.57 +#define EAGAIN 35 /* Resource temporarily unavailable */
1.58 +#define EWOULDBLOCK EAGAIN /* Operation would block */
1.59 +#define EINPROGRESS 36 /* Operation now in progress */
1.60 +#define EALREADY 37 /* Operation already in progress */
1.61 +#define ENOTSOCK 38 /* Socket operation on non-socket */
1.62 +#define EDESTADDRREQ 39 /* Destination address required */
1.63 +#define EMSGSIZE 40 /* Message too long */
1.64 +#define EPROTOTYPE 41 /* Protocol wrong type for socket */
1.65 +#define ENOPROTOOPT 42 /* Protocol not available */
1.66 +#define EPROTONOSUPPORT 43 /* Protocol not supported */
1.67 +#define ESOCKTNOSUPPORT 44 /* Socket type not supported */
1.68 +#define EOPNOTSUPP 45 /* Operation not supported on socket */
1.69 +#define EPFNOSUPPORT 46 /* Protocol family not supported */
1.70 +#define EAFNOSUPPORT 47 /* Address family not supported by protocol family */
1.71 +#define EADDRINUSE 48 /* Address already in use */
1.72 +#define EADDRNOTAVAIL 49 /* Can't assign requested address */
1.73 +#define ENETDOWN 50 /* Network is down */
1.74 +#define ENETUNREACH 51 /* Network is unreachable */
1.75 +#define ENETRESET 52 /* Network dropped connection on reset */
1.76 +#define ECONNABORTED 53 /* Software caused connection abort */
1.77 +#define ECONNRESET 54 /* Connection reset by peer */
1.78 +#define ENOBUFS 55 /* No buffer space available */
1.79 +#define EISCONN 56 /* Socket is already connected */
1.80 +#define ENOTCONN 57 /* Socket is not connected */
1.81 +#define ESHUTDOWN 58 /* Can't send after socket shutdown */
1.82 +#define ETOOMANYREFS 59 /* Too many references: can't splice */
1.83 +#define ETIMEDOUT 60 /* Connection timed out */
1.84 +#define ECONNREFUSED 61 /* Connection refused */
1.85 +#define ELOOP 62 /* Too many levels of symbolic links */
1.86 +#define ENAMETOOLONG 63 /* File name too long */
1.87 +#define EHOSTDOWN 64 /* Host is down */
1.88 +#define EHOSTUNREACH 65 /* No route to host */
1.89 +#define ENOTEMPTY 66 /* Directory not empty */
1.90 +#define EPROCLIM 67 /* Too many processes */
1.91 +#define EUSERS 68 /* Too many users */
1.92 +#define EDQUOT 69 /* Disc quota exceeded */
1.93 +#define ESTALE 70 /* Stale NFS file handle */
1.94 +#define EREMOTE 71 /* Too many levels of remote in path */
1.95 +#define EBADRPC 72 /* RPC struct is bad */
1.96 +#define ERPCMISMATCH 73 /* RPC version wrong */
1.97 +#define EPROGUNAVAIL 74 /* RPC prog. not avail */
1.98 +#define EPROGMISMATCH 75 /* Program version wrong */
1.99 +#define EPROCUNAVAIL 76 /* Bad procedure for program */
1.100 +#define ENOLCK 77 /* No locks available */
1.101 +#define ENOSYS 78 /* Function not implemented */
1.102 +#define EOVERFLOW 79 /* Value too large to be stored in data type */