모듈 기본 모듈

모듈 상수

공통 상수 정의 모듈

참고 방법:

1
var constants = require('constants');

끊임없는

RTLD_LAZY


1
const constants.RTLD_LAZY = 1;

RTLD_NOW


1
const constants.RTLD_NOW = 2;

RTLD_GLOBAL


1
const constants.RTLD_GLOBAL = 8;

RTLD_LOCAL


1
const constants.RTLD_LOCAL = 4;

E2BIG


1
const constants.E2BIG = 7;

EACCES


1
const constants.EACCES = 13;

EADDRINUSE


1
const constants.EADDRINUSE = 48;

EADDRNOTAVAIL


1
const constants.EADDRNOTAVAIL = 49;

EAFNOSUPPORT


1
const constants.EAFNOSUPPORT = 47;

EAGAIN


1
const constants.EAGAIN = 35;

EALREADY


1
const constants.EALREADY = 37;

EBADF


1
const constants.EBADF = 9;

EBADMSG


1
const constants.EBADMSG = 94;

EBUSY


1
const constants.EBUSY = 16;

ECANCELED


1
const constants.ECANCELED = 89;

ECHILD


1
const constants.ECHILD = 10;

ECONNABORTED


1
const constants.ECONNABORTED = 53;

ECONNREFUSED


1
const constants.ECONNREFUSED = 61;

ECONNRESET


1
const constants.ECONNRESET = 54;

EDEADLK


1
const constants.EDEADLK = 11;

EDESTADDRREQ


1
const constants.EDESTADDRREQ = 39;

EDOM


1
const constants.EDOM = 33;

EDQUOT


1
const constants.EDQUOT = 69;

EEXIST


1
const constants.EEXIST = 17;

EFAULT


1
const constants.EFAULT = 14;

EFBIG


1
const constants.EFBIG = 27;

EHOSTUNREACH


1
const constants.EHOSTUNREACH = 65;

EIDRM


1
const constants.EIDRM = 90;

EILSEQ


1
const constants.EILSEQ = 92;

EINPROGRESS


1
const constants.EINPROGRESS = 36;

EINTR


1
const constants.EINTR = 4;

EINVAL


1
const constants.EINVAL = 22;

EIO


1
const constants.EIO = 5;

EISCONN


1
const constants.EISCONN = 56;

EISDIR


1
const constants.EISDIR = 21;

ELOOP


1
const constants.ELOOP = 62;

EMFILE


1
const constants.EMFILE = 24;


1
const constants.EMLINK = 31;

EMSGSIZE


1
const constants.EMSGSIZE = 40;

EMULTIHOP


1
const constants.EMULTIHOP = 95;

ENAMETOOLONG


1
const constants.ENAMETOOLONG = 63;

ENETDOWN


1
const constants.ENETDOWN = 50;

ENETRESET


1
const constants.ENETRESET = 52;

ENETUNREACH


1
const constants.ENETUNREACH = 51;

ENFILE


1
const constants.ENFILE = 23;

ENOBUFS


1
const constants.ENOBUFS = 55;

ENODATA


1
const constants.ENODATA = 96;

ENODEV


1
const constants.ENODEV = 19;

ENOENT


1
const constants.ENOENT = 2;

ENOEXEC


1
const constants.ENOEXEC = 8;

ENOLCK


1
const constants.ENOLCK = 77;


1
const constants.ENOLINK = 97;

ENOMEM


1
const constants.ENOMEM = 12;

ENOMSG


1
const constants.ENOMSG = 91;

ENOPROTOOPT


1
const constants.ENOPROTOOPT = 42;

ENOSPC


1
const constants.ENOSPC = 28;

ENOSR


1
const constants.ENOSR = 98;

ENOSTR


1
const constants.ENOSTR = 99;

ENOSYS


1
const constants.ENOSYS = 78;

ENOTCONN


1
const constants.ENOTCONN = 57;

ENOTDIR


1
const constants.ENOTDIR = 20;

ENOTEMPTY


1
const constants.ENOTEMPTY = 66;

ENOTSOCK


1
const constants.ENOTSOCK = 38;

ENOTSUP


1
const constants.ENOTSUP = 45;

ENOTTY


1
const constants.ENOTTY = 25;

ENXIO


1
const constants.ENXIO = 6;

EOPNOTSUPP


1
const constants.EOPNOTSUPP = 102;

EOVERFLOW


1
const constants.EOVERFLOW = 84;

EPERM


1
const constants.EPERM = 1;

EPIPE


1
const constants.EPIPE = 32;

EPROTO


1
const constants.EPROTO = 100;

EPROTONOSUPPORT


1
const constants.EPROTONOSUPPORT = 43;

EPROTOTYPE


1
const constants.EPROTOTYPE = 41;

ERANGE


1
const constants.ERANGE = 34;

EROFS


1
const constants.EROFS = 30;

ESPIPE


1
const constants.ESPIPE = 29;

ESRCH


1
const constants.ESRCH = 3;

ESTALE


1
const constants.ESTALE = 70;

ETIME


1
const constants.ETIME = 101;

ETIMEDOUT


1
const constants.ETIMEDOUT = 60;

ETXTBSY


1
const constants.ETXTBSY = 26;

EWOULDBLOCK


1
const constants.EWOULDBLOCK = 35;

EXDEV


1
const constants.EXDEV = 18;

PRIORITY_LOW


1
const constants.PRIORITY_LOW = 19;

PRIORITY_BELOW_NORMAL


1
const constants.PRIORITY_BELOW_NORMAL = 10;

PRIORITY_NORMAL


1
const constants.PRIORITY_NORMAL = 0;

PRIORITY_ABOVE_NORMAL


1
const constants.PRIORITY_ABOVE_NORMAL = -7;

PRIORITY_HIGH


1
const constants.PRIORITY_HIGH = -14;

PRIORITY_HIGHEST


1
const constants.PRIORITY_HIGHEST = -20;

SIGHUP


1
const constants.SIGHUP = 1;

SIGINT


1
const constants.SIGINT = 2;

SIGQUIT


1
const constants.SIGQUIT = 3;

SIGILL


1
const constants.SIGILL = 4;

SIGTRAP


1
const constants.SIGTRAP = 5;

SIGABRT


1
const constants.SIGABRT = 6;

SIGIOT


1
const constants.SIGIOT = 6;

SIGBUS


1
const constants.SIGBUS = 10;

SIGFPE


1
const constants.SIGFPE = 8;

SIGKILL


1
const constants.SIGKILL = 9;

SIGUSR1


1
const constants.SIGUSR1 = 30;

SIGSEGV


1
const constants.SIGSEGV = 11;

SIGUSR2


1
const constants.SIGUSR2 = 31;

SIGPIPE


1
const constants.SIGPIPE = 13;

SIGALRM


1
const constants.SIGALRM = 14;

SIGTERM


1
const constants.SIGTERM = 15;

SIGCHLD


1
const constants.SIGCHLD = 20;

SIGCONT


1
const constants.SIGCONT = 19;

SIGSTOP


1
const constants.SIGSTOP = 17;

SIGTSTP


1
const constants.SIGTSTP = 18;

SIGTTIN


1
const constants.SIGTTIN = 21;

SIGTTOU


1
const constants.SIGTTOU = 22;

SIGURG


1
const constants.SIGURG = 16;

SIGXCPU


1
const constants.SIGXCPU = 24;

SIGXFSZ


1
const constants.SIGXFSZ = 25;

SIGVTALRM


1
const constants.SIGVTALRM = 26;

SIGPROF


1
const constants.SIGPROF = 27;

SIGWINCH


1
const constants.SIGWINCH = 28;

SIGIO


1
const constants.SIGIO = 23;

SIGINFO


1
const constants.SIGINFO = 29;

SIGSYS


1
const constants.SIGSYS = 12;


1
const constants.UV_FS_SYMLINK_DIR = 1;


1
const constants.UV_FS_SYMLINK_JUNCTION = 2;

O_RDONLY


1
const constants.O_RDONLY = 0;

O_WRONLY


1
const constants.O_WRONLY = 1;

O_RDWR


1
const constants.O_RDWR = 2;

UV_DIRENT_UNKNOWN


1
const constants.UV_DIRENT_UNKNOWN = 0;

UV_DIRENT_FILE


1
const constants.UV_DIRENT_FILE = 1;

UV_DIRENT_DIR


1
const constants.UV_DIRENT_DIR = 2;


1
const constants.UV_DIRENT_LINK = 3;

UV_DIRENT_FIFO


1
const constants.UV_DIRENT_FIFO = 4;

UV_DIRENT_SOCKET


1
const constants.UV_DIRENT_SOCKET = 5;

UV_DIRENT_CHAR


1
const constants.UV_DIRENT_CHAR = 6;

UV_DIRENT_BLOCK


1
const constants.UV_DIRENT_BLOCK = 7;

S_IFMT


1
const constants.S_IFMT = 61440;

S_IFREG


1
const constants.S_IFREG = 32768;

S_IFDIR


1
const constants.S_IFDIR = 16384;

S_IFCHR


1
const constants.S_IFCHR = 8192;

S_IFBLK


1
const constants.S_IFBLK = 24576;

S_IFIFO


1
const constants.S_IFIFO = 4096;

S_IFLNK


1
const constants.S_IFLNK = 40960;

S_IFSOCK


1
const constants.S_IFSOCK = 49152;

O_CREAT


1
const constants.O_CREAT = 512;

O_EXCL


1
const constants.O_EXCL = 2048;

UV_FS_O_FILEMAP


1
const constants.UV_FS_O_FILEMAP = 0;

O_NOCTTY


1
const constants.O_NOCTTY = 131072;

O_TRUNC


1
const constants.O_TRUNC = 1024;

O_APPEND


1
const constants.O_APPEND = 8;

O_DIRECTORY


1
const constants.O_DIRECTORY = 1048576;

O_NOFOLLOW


1
const constants.O_NOFOLLOW = 256;

O_SYNC


1
const constants.O_SYNC = 128;

O_DSYNC


1
const constants.O_DSYNC = 4194304;


1
const constants.O_SYMLINK = 2097152;

O_NONBLOCK


1
const constants.O_NONBLOCK = 4;

S_IRWXU


1
const constants.S_IRWXU = 448;

S_IRUSR


1
const constants.S_IRUSR = 256;

S_IWUSR


1
const constants.S_IWUSR = 128;

S_IXUSR


1
const constants.S_IXUSR = 64;

S_IRWXG


1
const constants.S_IRWXG = 56;

S_IRGRP


1
const constants.S_IRGRP = 32;

S_IWGRP


1
const constants.S_IWGRP = 16;

S_IXGRP


1
const constants.S_IXGRP = 8;

S_IRWXO


1
const constants.S_IRWXO = 7;

S_IROTH


1
const constants.S_IROTH = 4;

S_IWOTH


1
const constants.S_IWOTH = 2;

S_IXOTH


1
const constants.S_IXOTH = 1;

F_OK


1
const constants.F_OK = 0;

R_OK


1
const constants.R_OK = 4;

W_OK


1
const constants.W_OK = 2;

X_OK


1
const constants.X_OK = 1;

UV_FS_COPYFILE_EXCL


1
const constants.UV_FS_COPYFILE_EXCL = 1;

COPYFILE_EXCL


1
const constants.COPYFILE_EXCL = 1;

UV_FS_COPYFILE_FICLONE


1
const constants.UV_FS_COPYFILE_FICLONE = 2;

COPYFILE_FICLONE


1
const constants.COPYFILE_FICLONE = 2;

UV_FS_COPYFILE_FICLONE_FORCE


1
const constants.UV_FS_COPYFILE_FICLONE_FORCE = 4;

COPYFILE_FICLONE_FORCE


1
const constants.COPYFILE_FICLONE_FORCE = 4;