os
Source: QuickJS's own os module
The os module of QuickJS (files, processes, timers, signals, Worker), as extended by qjsm. Not Node's os: that is node:os and is reached as node:os.
See the QuickJS documentation for the semantics of the standard members. The export list below is what this build provides.
Export list
Generated by utilities/doc-api.js from the os dump of utilities/api-surface.sh: 75 members. Edit the text above this block, not the block.
Functions: chdir(), clearTimeout(), close(), dup(), dup2(), exec(), getcwd(), getpid(), isatty(), kill(), lstat(), mkdir(), now(), open(), pipe(), read(), readdir(), readlink(), realpath(), remove(), rename(), seek(), setReadHandler(), setTimeout(), setWriteHandler(), signal(), sleep(), sleepAsync(), stat(), symlink(), ttyGetWinSize(), ttySetRaw(), utimes(), waitpid(), write()
Values: O_APPEND = 1024, O_CREAT = 64, O_EXCL = 128, O_RDONLY = 0, O_RDWR = 2, O_TRUNC = 512, O_WRONLY = 1, SIGABRT = 6, SIGALRM = 14, SIGCHLD = 17, SIGCONT = 18, SIGFPE = 8, SIGILL = 4, SIGINT = 2, SIGPIPE = 13, SIGQUIT = 3, SIGSEGV = 11, SIGSTOP = 19, SIGTERM = 15, SIGTSTP = 20, SIGTTIN = 21, SIGTTOU = 22, SIGUSR1 = 10, SIGUSR2 = 12, S_IFBLK = 24576, S_IFCHR = 8192, S_IFDIR = 16384, S_IFIFO = 4096, S_IFLNK = 40960, S_IFMT = 61440, S_IFREG = 32768, S_IFSOCK = 49152, S_ISGID = 1024, S_ISUID = 2048, WNOHANG = 1, platform
Worker
class, constructible
- methods:
postMessage() - properties:
onmessage (get/set)