Skip to content

Instantly share code, notes, and snippets.

@asterite
Created January 30, 2015 17:40
Show Gist options
  • Select an option

  • Save asterite/871da0562b96ef8df03c to your computer and use it in GitHub Desktop.

Select an option

Save asterite/871da0562b96ef8df03c to your computer and use it in GitHub Desktop.
/usr/include/arpa/ftp.h:#define ERROR 5 /* permanent negative completion */
/usr/include/arpa/telnet.h:#define EL 248 /* erase the current line */
/usr/include/arpa/telnet.h:#define EC 247 /* erase the current character */
/usr/include/arpa/telnet.h:#define EOR 239 /* end of record (transparent mode) */
/usr/include/arpa/tftp.h:#define ERROR 05 /* error code */
/usr/include/arpa/tftp.h:#define EUNDEF 0 /* not defined */
/usr/include/arpa/tftp.h:#define ENOTFOUND 1 /* file not found */
/usr/include/arpa/tftp.h:#define EACCESS 2 /* access violation */
/usr/include/arpa/tftp.h:#define ENOSPACE 3 /* disk full or allocation exceeded */
/usr/include/arpa/tftp.h:#define EBADOP 4 /* illegal TFTP operation */
/usr/include/arpa/tftp.h:#define EBADID 5 /* unknown transfer ID */
/usr/include/arpa/tftp.h:#define EEXISTS 6 /* file already exists */
/usr/include/arpa/tftp.h:#define ENOUSER 7 /* no such user */
/usr/include/arpa/tftp.h:#define EOPTNEG 8 /* option negotiation failed */
/usr/include/langinfo.h:#define ERA 45 /* era description segments */
/usr/include/php/Zend/zend_language_parser.h:#define END 257
/usr/include/python2.6/grammar.h:#define EMPTY 0 /* Label number 0 is by definition the empty label */
/usr/include/python2.6/token.h:#define ENDMARKER 0
/usr/include/python2.6/token.h:#define EQUAL 22
/usr/include/python2.6/token.h:#define EQEQUAL 28
/usr/include/python2.6/token.h:#define ERRORTOKEN 52
/usr/include/python2.7/grammar.h:#define EMPTY 0 /* Label number 0 is by definition the empty label */
/usr/include/python2.7/token.h:#define ENDMARKER 0
/usr/include/python2.7/token.h:#define EQUAL 22
/usr/include/python2.7/token.h:#define EQEQUAL 28
/usr/include/python2.7/token.h:#define ERRORTOKEN 52
/usr/include/rpcsvc/rex.h:#define ECHO 0x00000008
/usr/include/rpcsvc/rex.h:#define EVENP 0x00000080
/usr/include/sys/errno.h:#define EPERM 1 /* Operation not permitted */
/usr/include/sys/errno.h:#define ENOENT 2 /* No such file or directory */
/usr/include/sys/errno.h:#define ESRCH 3 /* No such process */
/usr/include/sys/errno.h:#define EINTR 4 /* Interrupted system call */
/usr/include/sys/errno.h:#define EIO 5 /* Input/output error */
/usr/include/sys/errno.h:#define ENXIO 6 /* Device not configured */
/usr/include/sys/errno.h:#define ENOEXEC 8 /* Exec format error */
/usr/include/sys/errno.h:#define EBADF 9 /* Bad file descriptor */
/usr/include/sys/errno.h:#define ECHILD 10 /* No child processes */
/usr/include/sys/errno.h:#define EDEADLK 11 /* Resource deadlock avoided */
/usr/include/sys/errno.h:#define ENOMEM 12 /* Cannot allocate memory */
/usr/include/sys/errno.h:#define EACCES 13 /* Permission denied */
/usr/include/sys/errno.h:#define EFAULT 14 /* Bad address */
/usr/include/sys/errno.h:#define ENOTBLK 15 /* Block device required */
/usr/include/sys/errno.h:#define EBUSY 16 /* Device / Resource busy */
/usr/include/sys/errno.h:#define EEXIST 17 /* File exists */
/usr/include/sys/errno.h:#define EXDEV 18 /* Cross-device link */
/usr/include/sys/errno.h:#define ENODEV 19 /* Operation not supported by device */
/usr/include/sys/errno.h:#define ENOTDIR 20 /* Not a directory */
/usr/include/sys/errno.h:#define EISDIR 21 /* Is a directory */
/usr/include/sys/errno.h:#define EINVAL 22 /* Invalid argument */
/usr/include/sys/errno.h:#define ENFILE 23 /* Too many open files in system */
/usr/include/sys/errno.h:#define EMFILE 24 /* Too many open files */
/usr/include/sys/errno.h:#define ENOTTY 25 /* Inappropriate ioctl for device */
/usr/include/sys/errno.h:#define ETXTBSY 26 /* Text file busy */
/usr/include/sys/errno.h:#define EFBIG 27 /* File too large */
/usr/include/sys/errno.h:#define ENOSPC 28 /* No space left on device */
/usr/include/sys/errno.h:#define ESPIPE 29 /* Illegal seek */
/usr/include/sys/errno.h:#define EROFS 30 /* Read-only file system */
/usr/include/sys/errno.h:#define EMLINK 31 /* Too many links */
/usr/include/sys/errno.h:#define EPIPE 32 /* Broken pipe */
/usr/include/sys/errno.h:#define EDOM 33 /* Numerical argument out of domain */
/usr/include/sys/errno.h:#define ERANGE 34 /* Result too large */
/usr/include/sys/errno.h:#define EAGAIN 35 /* Resource temporarily unavailable */
/usr/include/sys/errno.h:#define EWOULDBLOCK EAGAIN /* Operation would block */
/usr/include/sys/errno.h:#define EINPROGRESS 36 /* Operation now in progress */
/usr/include/sys/errno.h:#define EALREADY 37 /* Operation already in progress */
/usr/include/sys/errno.h:#define ENOTSOCK 38 /* Socket operation on non-socket */
/usr/include/sys/errno.h:#define EDESTADDRREQ 39 /* Destination address required */
/usr/include/sys/errno.h:#define EMSGSIZE 40 /* Message too long */
/usr/include/sys/errno.h:#define EPROTOTYPE 41 /* Protocol wrong type for socket */
/usr/include/sys/errno.h:#define ENOPROTOOPT 42 /* Protocol not available */
/usr/include/sys/errno.h:#define EPROTONOSUPPORT 43 /* Protocol not supported */
/usr/include/sys/errno.h:#define ESOCKTNOSUPPORT 44 /* Socket type not supported */
/usr/include/sys/errno.h:#define ENOTSUP 45 /* Operation not supported */
/usr/include/sys/errno.h:#define EOPNOTSUPP ENOTSUP /* Operation not supported on socket */
/usr/include/sys/errno.h:#define EPFNOSUPPORT 46 /* Protocol family not supported */
/usr/include/sys/errno.h:#define EAFNOSUPPORT 47 /* Address family not supported by protocol family */
/usr/include/sys/errno.h:#define EADDRINUSE 48 /* Address already in use */
/usr/include/sys/errno.h:#define EADDRNOTAVAIL 49 /* Can't assign requested address */
/usr/include/sys/errno.h:#define ENETDOWN 50 /* Network is down */
/usr/include/sys/errno.h:#define ENETUNREACH 51 /* Network is unreachable */
/usr/include/sys/errno.h:#define ENETRESET 52 /* Network dropped connection on reset */
/usr/include/sys/errno.h:#define ECONNABORTED 53 /* Software caused connection abort */
/usr/include/sys/errno.h:#define ECONNRESET 54 /* Connection reset by peer */
/usr/include/sys/errno.h:#define ENOBUFS 55 /* No buffer space available */
/usr/include/sys/errno.h:#define EISCONN 56 /* Socket is already connected */
/usr/include/sys/errno.h:#define ENOTCONN 57 /* Socket is not connected */
/usr/include/sys/errno.h:#define ESHUTDOWN 58 /* Can't send after socket shutdown */
/usr/include/sys/errno.h:#define ETOOMANYREFS 59 /* Too many references: can't splice */
/usr/include/sys/errno.h:#define ETIMEDOUT 60 /* Operation timed out */
/usr/include/sys/errno.h:#define ECONNREFUSED 61 /* Connection refused */
/usr/include/sys/errno.h:#define ELOOP 62 /* Too many levels of symbolic links */
/usr/include/sys/errno.h:#define ENAMETOOLONG 63 /* File name too long */
/usr/include/sys/errno.h:#define EHOSTDOWN 64 /* Host is down */
/usr/include/sys/errno.h:#define EHOSTUNREACH 65 /* No route to host */
/usr/include/sys/errno.h:#define ENOTEMPTY 66 /* Directory not empty */
/usr/include/sys/errno.h:#define EPROCLIM 67 /* Too many processes */
/usr/include/sys/errno.h:#define EUSERS 68 /* Too many users */
/usr/include/sys/errno.h:#define EDQUOT 69 /* Disc quota exceeded */
/usr/include/sys/errno.h:#define ESTALE 70 /* Stale NFS file handle */
/usr/include/sys/errno.h:#define EREMOTE 71 /* Too many levels of remote in path */
/usr/include/sys/errno.h:#define EBADRPC 72 /* RPC struct is bad */
/usr/include/sys/errno.h:#define ERPCMISMATCH 73 /* RPC version wrong */
/usr/include/sys/errno.h:#define EPROGUNAVAIL 74 /* RPC prog. not avail */
/usr/include/sys/errno.h:#define EPROGMISMATCH 75 /* Program version wrong */
/usr/include/sys/errno.h:#define EPROCUNAVAIL 76 /* Bad procedure for program */
/usr/include/sys/errno.h:#define ENOLCK 77 /* No locks available */
/usr/include/sys/errno.h:#define ENOSYS 78 /* Function not implemented */
/usr/include/sys/errno.h:#define EFTYPE 79 /* Inappropriate file type or format */
/usr/include/sys/errno.h:#define EAUTH 80 /* Authentication error */
/usr/include/sys/errno.h:#define ENEEDAUTH 81 /* Need authenticator */
/usr/include/sys/errno.h:#define EPWROFF 82 /* Device power is off */
/usr/include/sys/errno.h:#define EDEVERR 83 /* Device error, e.g. paper out */
/usr/include/sys/errno.h:#define EOVERFLOW 84 /* Value too large to be stored in data type */
/usr/include/sys/errno.h:#define EBADEXEC 85 /* Bad executable */
/usr/include/sys/errno.h:#define EBADARCH 86 /* Bad CPU type in executable */
/usr/include/sys/errno.h:#define ESHLIBVERS 87 /* Shared library version mismatch */
/usr/include/sys/errno.h:#define EBADMACHO 88 /* Malformed Macho file */
/usr/include/sys/errno.h:#define ECANCELED 89 /* Operation canceled */
/usr/include/sys/errno.h:#define EIDRM 90 /* Identifier removed */
/usr/include/sys/errno.h:#define ENOMSG 91 /* No message of desired type */
/usr/include/sys/errno.h:#define EILSEQ 92 /* Illegal byte sequence */
/usr/include/sys/errno.h:#define ENOATTR 93 /* Attribute not found */
/usr/include/sys/errno.h:#define EBADMSG 94 /* Bad message */
/usr/include/sys/errno.h:#define EMULTIHOP 95 /* Reserved */
/usr/include/sys/errno.h:#define ENODATA 96 /* No message available on STREAM */
/usr/include/sys/errno.h:#define ENOLINK 97 /* Reserved */
/usr/include/sys/errno.h:#define ENOSR 98 /* No STREAM resources */
/usr/include/sys/errno.h:#define ENOSTR 99 /* Not a STREAM */
/usr/include/sys/errno.h:#define EPROTO 100 /* Protocol error */
/usr/include/sys/errno.h:#define ETIME 101 /* STREAM ioctl timeout */
/usr/include/sys/errno.h:#define EOPNOTSUPP 102 /* Operation not supported on socket */
/usr/include/sys/errno.h:#define ENOPOLICY 103 /* No such policy registered */
/usr/include/sys/errno.h:#define ENOTRECOVERABLE 104 /* State not recoverable */
/usr/include/sys/errno.h:#define EOWNERDEAD 105 /* Previous owner died */
/usr/include/sys/errno.h:#define EQFULL 106 /* Interface output queue is full */
/usr/include/sys/errno.h:#define ELAST 106 /* Must be equal largest errno */
/usr/include/sys/ioctl_compat.h:#define ECHO 0x00000008 /* echo input */
/usr/include/sys/ioctl_compat.h:#define EVENP 0x00000080 /* get/send even parity */
/usr/include/sys/termios.h:#define ECHOKE 0x00000001 /* visual erase for line kill */
/usr/include/sys/termios.h:#define ECHOE 0x00000002 /* visually erase chars */
/usr/include/sys/termios.h:#define ECHOK 0x00000004 /* echo NL after line kill */
/usr/include/sys/termios.h:#define ECHO 0x00000008 /* enable echoing */
/usr/include/sys/termios.h:#define ECHONL 0x00000010 /* echo NL even if ECHO is off */
/usr/include/sys/termios.h:#define ECHOPRT 0x00000020 /* visual erase mode for hardcopy */
/usr/include/sys/termios.h:#define ECHOCTL 0x00000040 /* echo control chars as ^(Char) */
/usr/include/sys/termios.h:#define EXTPROC 0x00000800 /* external processing */
/usr/include/sys/termios.h:#define EXTA 19200
/usr/include/sys/termios.h:#define EXTB 38400
/usr/include/sys/ttydev.h:#define EXTA 14
/usr/include/sys/ttydev.h:#define EXTB 15
/usr/include/utmpx.h:#define EMPTY 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment