constantes del módulo
Módulo de definición de constantes comunes
Método de referencia:
1var constants = require('constants');
constante
RTLD_LAZY
1const constants.RTLD_LAZY = 1;
RTLD_NOW
1const constants.RTLD_NOW = 2;
RTLD_GLOBAL
1const constants.RTLD_GLOBAL = 8;
RTLD_LOCAL
1const constants.RTLD_LOCAL = 4;
E2BIG
1const constants.E2BIG = 7;
EACCES
1const constants.EACCES = 13;
EADDRINUSE
1const constants.EADDRINUSE = 48;
EADDRNOTAVAIL
1const constants.EADDRNOTAVAIL = 49;
EAFNOSUPPORT
1const constants.EAFNOSUPPORT = 47;
EAGAIN
1const constants.EAGAIN = 35;
EALREADY
1const constants.EALREADY = 37;
EBADF
1const constants.EBADF = 9;
EBADMSG
1const constants.EBADMSG = 94;
EBUSY
1const constants.EBUSY = 16;
ECANCELED
1const constants.ECANCELED = 89;
ECHILD
1const constants.ECHILD = 10;
ECONNABORTED
1const constants.ECONNABORTED = 53;
ECONNREFUSED
1const constants.ECONNREFUSED = 61;
ECONNRESET
1const constants.ECONNRESET = 54;
EDEADLK
1const constants.EDEADLK = 11;
EDESTADDRREQ
1const constants.EDESTADDRREQ = 39;
EDOM
1const constants.EDOM = 33;
EDQUOT
1const constants.EDQUOT = 69;
EEXIST
1const constants.EEXIST = 17;
EFAULT
1const constants.EFAULT = 14;
EFBIG
1const constants.EFBIG = 27;
EHOSTUNREACH
1const constants.EHOSTUNREACH = 65;
EIDRM
1const constants.EIDRM = 90;
EILSEQ
1const constants.EILSEQ = 92;
EINPROGRESS
1const constants.EINPROGRESS = 36;
EINTR
1const constants.EINTR = 4;
EINVAL
1const constants.EINVAL = 22;
EIO
1const constants.EIO = 5;
EISCONN
1const constants.EISCONN = 56;
EISDIR
1const constants.EISDIR = 21;
ELOOP
1const constants.ELOOP = 62;
EMFILE
1const constants.EMFILE = 24;
EMLINK
1const constants.EMLINK = 31;
EMSGSIZE
1const constants.EMSGSIZE = 40;
EMULTIHOP
1const constants.EMULTIHOP = 95;
ENAMETOOLONG
1const constants.ENAMETOOLONG = 63;
ENETDOWN
1const constants.ENETDOWN = 50;
ENETRESET
1const constants.ENETRESET = 52;
ENETUNREACH
1const constants.ENETUNREACH = 51;
ENFILE
1const constants.ENFILE = 23;
ENOBUFS
1const constants.ENOBUFS = 55;
ENODATA
1const constants.ENODATA = 96;
ENODEV
1const constants.ENODEV = 19;
ENOENT
1const constants.ENOENT = 2;
ENOEXEC
1const constants.ENOEXEC = 8;
ENOLCK
1const constants.ENOLCK = 77;
ENOLINK
1const constants.ENOLINK = 97;
ENOMEM
1const constants.ENOMEM = 12;
ENOMSG
1const constants.ENOMSG = 91;
ENOPROTOOPT
1const constants.ENOPROTOOPT = 42;
ENOSPC
1const constants.ENOSPC = 28;
ENOSR
1const constants.ENOSR = 98;
ENOSTR
1const constants.ENOSTR = 99;
ENOSYS
1const constants.ENOSYS = 78;
ENOTCONN
1const constants.ENOTCONN = 57;
ENOTDIR
1const constants.ENOTDIR = 20;
ENOTEMPTY
1const constants.ENOTEMPTY = 66;
ENOTSOCK
1const constants.ENOTSOCK = 38;
ENOTSUP
1const constants.ENOTSUP = 45;
ENOTTY
1const constants.ENOTTY = 25;
ENXIO
1const constants.ENXIO = 6;
EOPNOTSUPP
1const constants.EOPNOTSUPP = 102;
EOVERFLOW
1const constants.EOVERFLOW = 84;
EPERM
1const constants.EPERM = 1;
EPIPE
1const constants.EPIPE = 32;
EPROTO
1const constants.EPROTO = 100;
EPROTONOSUPPORT
1const constants.EPROTONOSUPPORT = 43;
EPROTOTYPE
1const constants.EPROTOTYPE = 41;
ERANGE
1const constants.ERANGE = 34;
EROFS
1const constants.EROFS = 30;
ESPIPE
1const constants.ESPIPE = 29;
ESRCH
1const constants.ESRCH = 3;
ESTALE
1const constants.ESTALE = 70;
ETIME
1const constants.ETIME = 101;
ETIMEDOUT
1const constants.ETIMEDOUT = 60;
ETXTBSY
1const constants.ETXTBSY = 26;
EWOULDBLOCK
1const constants.EWOULDBLOCK = 35;
EXDEV
1const constants.EXDEV = 18;
PRIORITY_LOW
1const constants.PRIORITY_LOW = 19;
PRIORITY_BELOW_NORMAL
1const constants.PRIORITY_BELOW_NORMAL = 10;
PRIORITY_NORMAL
1const constants.PRIORITY_NORMAL = 0;
PRIORITY_ABOVE_NORMAL
1const constants.PRIORITY_ABOVE_NORMAL = -7;
PRIORITY_HIGH
1const constants.PRIORITY_HIGH = -14;
PRIORITY_HIGHEST
1const constants.PRIORITY_HIGHEST = -20;
SIGHUP
1const constants.SIGHUP = 1;
SIGINT
1const constants.SIGINT = 2;
SIGQUIT
1const constants.SIGQUIT = 3;
SIGILL
1const constants.SIGILL = 4;
SIGTRAP
1const constants.SIGTRAP = 5;
SIGABRT
1const constants.SIGABRT = 6;
SIGIOT
1const constants.SIGIOT = 6;
SIGBUS
1const constants.SIGBUS = 10;
SIGFPE
1const constants.SIGFPE = 8;
SIGKILL
1const constants.SIGKILL = 9;
SIGUSR1
1const constants.SIGUSR1 = 30;
SIGSEGV
1const constants.SIGSEGV = 11;
SIGUSR2
1const constants.SIGUSR2 = 31;
SIGPIPE
1const constants.SIGPIPE = 13;
SIGALRM
1const constants.SIGALRM = 14;
SIGTERM
1const constants.SIGTERM = 15;
SIGCHLD
1const constants.SIGCHLD = 20;
SIGCONT
1const constants.SIGCONT = 19;
SIGSTOP
1const constants.SIGSTOP = 17;
SIGTSTP
1const constants.SIGTSTP = 18;
SIGTTIN
1const constants.SIGTTIN = 21;
SIGTTOU
1const constants.SIGTTOU = 22;
SIGURG
1const constants.SIGURG = 16;
SIGXCPU
1const constants.SIGXCPU = 24;
SIGXFSZ
1const constants.SIGXFSZ = 25;
SIGVTALRM
1const constants.SIGVTALRM = 26;
SIGPROF
1const constants.SIGPROF = 27;
SIGWINCH
1const constants.SIGWINCH = 28;
SIGIO
1const constants.SIGIO = 23;
SIGINFO
1const constants.SIGINFO = 29;
SIGSYS
1const constants.SIGSYS = 12;
UV_FS_SYMLINK_DIR
1const constants.UV_FS_SYMLINK_DIR = 1;
UV_FS_SYMLINK_JUNCTION
1const constants.UV_FS_SYMLINK_JUNCTION = 2;
O_RDONLY
1const constants.O_RDONLY = 0;
O_WRONLY
1const constants.O_WRONLY = 1;
O_RDWR
1const constants.O_RDWR = 2;
UV_DIRENT_UNKNOWN
1const constants.UV_DIRENT_UNKNOWN = 0;
UV_DIRENT_FILE
1const constants.UV_DIRENT_FILE = 1;
UV_DIRENT_DIR
1const constants.UV_DIRENT_DIR = 2;
UV_DIRENT_LINK
1const constants.UV_DIRENT_LINK = 3;
UV_DIRENT_FIFO
1const constants.UV_DIRENT_FIFO = 4;
UV_DIRENT_SOCKET
1const constants.UV_DIRENT_SOCKET = 5;
UV_DIRENT_CHAR
1const constants.UV_DIRENT_CHAR = 6;
UV_DIRENT_BLOCK
1const constants.UV_DIRENT_BLOCK = 7;
S_IFMT
1const constants.S_IFMT = 61440;
S_IFREG
1const constants.S_IFREG = 32768;
S_IFDIR
1const constants.S_IFDIR = 16384;
S_IFCHR
1const constants.S_IFCHR = 8192;
S_IFBLK
1const constants.S_IFBLK = 24576;
S_IFIFO
1const constants.S_IFIFO = 4096;
S_IFLNK
1const constants.S_IFLNK = 40960;
S_IFSOCK
1const constants.S_IFSOCK = 49152;
O_CREAT
1const constants.O_CREAT = 512;
O_EXCL
1const constants.O_EXCL = 2048;
UV_FS_O_FILEMAP
1const constants.UV_FS_O_FILEMAP = 0;
O_NOCTTY
1const constants.O_NOCTTY = 131072;
O_TRUNC
1const constants.O_TRUNC = 1024;
O_APPEND
1const constants.O_APPEND = 8;
O_DIRECTORY
1const constants.O_DIRECTORY = 1048576;
O_NOFOLLOW
1const constants.O_NOFOLLOW = 256;
O_SYNC
1const constants.O_SYNC = 128;
O_DSYNC
1const constants.O_DSYNC = 4194304;
O_SYMLINK
1const constants.O_SYMLINK = 2097152;
O_NONBLOCK
1const constants.O_NONBLOCK = 4;
S_IRWXU
1const constants.S_IRWXU = 448;
S_IRUSR
1const constants.S_IRUSR = 256;
S_IWUSR
1const constants.S_IWUSR = 128;
S_IXUSR
1const constants.S_IXUSR = 64;
S_IRWXG
1const constants.S_IRWXG = 56;
S_IRGRP
1const constants.S_IRGRP = 32;
S_IWGRP
1const constants.S_IWGRP = 16;
S_IXGRP
1const constants.S_IXGRP = 8;
S_IRWXO
1const constants.S_IRWXO = 7;
S_IROTH
1const constants.S_IROTH = 4;
S_IWOTH
1const constants.S_IWOTH = 2;
S_IXOTH
1const constants.S_IXOTH = 1;
F_OK
1const constants.F_OK = 0;
R_OK
1const constants.R_OK = 4;
W_OK
1const constants.W_OK = 2;
X_OK
1const constants.X_OK = 1;
UV_FS_COPYFILE_EXCL
1const constants.UV_FS_COPYFILE_EXCL = 1;
COPYFILE_EXCL
1const constants.COPYFILE_EXCL = 1;
UV_FS_COPYFILE_FICLONE
1const constants.UV_FS_COPYFILE_FICLONE = 2;
COPYFILE_FICLONE
1const constants.COPYFILE_FICLONE = 2;
UV_FS_COPYFILE_FICLONE_FORCE
1const constants.UV_FS_COPYFILE_FICLONE_FORCE = 4;
COPYFILE_FICLONE_FORCE
1const constants.COPYFILE_FICLONE_FORCE = 4;