mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-04-26 08:44:42 +00:00
- Fix build flakes - Polyfill SIGWINCH on Windows - Fix an execve issue on Windows - Make strerror show more information - Improve cmd.exe setup/teardown on Windows - Support bracketed paste mode in Blinkenlights - Show keyboard shortcuts in Blinkenlights status bar - Fixed copy_file_range() and copyfile() w/ zip filesystem - Size optimize GetDosArgv() to keep life.com 12kb in size - Improve Blinkenlights ability to load weird ELF executables - Fix program_executable_name and add GetInterpreterExecutableName - Make Python in tiny mode fail better if docstrings are requested - Update Python test exclusions in tiny* modes such as tinylinux - Add bulletproof unbreakable kprintf() troubleshooting function - Remove "oldskool" keyword from ape.S for virus scanners - Fix issue that caused backtraces to not print sometimes - Improve Blinkenlights serial uart character i/o - Make clock_gettime() not clobber errno on xnu - Improve sha256 cpuid check for old computers - Integrate some bestline linenoise fixes - Show runit process names better in htop - Remove SIGPIPE from ShowCrashReports() - Make realpath() not clobber errno - Avoid attaching GDB on non-Linux - Improve img.com example
78 lines
2.7 KiB
C
78 lines
2.7 KiB
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_O_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_O_H_
|
|
#include "libc/runtime/symbolic.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern const unsigned O_ACCMODE;
|
|
extern const unsigned O_APPEND;
|
|
extern const unsigned O_ASYNC;
|
|
extern const unsigned O_CLOEXEC;
|
|
extern const unsigned O_CREAT;
|
|
extern const unsigned O_DIRECT;
|
|
extern const unsigned O_DIRECTORY;
|
|
extern const unsigned O_DSYNC;
|
|
extern const unsigned O_EXCL;
|
|
extern const unsigned O_EXEC;
|
|
extern const unsigned O_EXLOCK;
|
|
extern const unsigned O_LARGEFILE;
|
|
extern const unsigned O_NDELAY;
|
|
extern const unsigned O_NOATIME;
|
|
extern const unsigned O_NOCTTY;
|
|
extern const unsigned O_NOFOLLOW;
|
|
extern const unsigned O_NOFOLLOW_ANY;
|
|
extern const unsigned O_NONBLOCK;
|
|
extern const unsigned O_PATH;
|
|
extern const unsigned O_RANDOM;
|
|
extern const unsigned O_RDONLY;
|
|
extern const unsigned O_RDWR;
|
|
extern const unsigned O_RSYNC;
|
|
extern const unsigned O_SEARCH;
|
|
extern const unsigned O_SEQUENTIAL;
|
|
extern const unsigned O_SHLOCK;
|
|
extern const unsigned O_SPARSE;
|
|
extern const unsigned O_SYNC;
|
|
extern const unsigned O_TMPFILE;
|
|
extern const unsigned O_TRUNC;
|
|
extern const unsigned O_TTY_INIT;
|
|
extern const unsigned O_VERIFY;
|
|
extern const unsigned O_WRONLY;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#define O_ACCMODE SYMBOLIC(O_ACCMODE)
|
|
#define O_APPEND SYMBOLIC(O_APPEND)
|
|
#define O_ASYNC SYMBOLIC(O_ASYNC)
|
|
#define O_CLOEXEC SYMBOLIC(O_CLOEXEC)
|
|
#define O_CREAT SYMBOLIC(O_CREAT)
|
|
#define O_DIRECT SYMBOLIC(O_DIRECT)
|
|
#define O_DIRECTORY SYMBOLIC(O_DIRECTORY)
|
|
#define O_DSYNC SYMBOLIC(O_DSYNC)
|
|
#define O_EXCL SYMBOLIC(O_EXCL)
|
|
#define O_EXEC SYMBOLIC(O_EXEC)
|
|
#define O_EXLOCK SYMBOLIC(O_EXLOCK)
|
|
#define O_LARGEFILE SYMBOLIC(O_LARGEFILE)
|
|
#define O_NDELAY SYMBOLIC(O_NDELAY)
|
|
#define O_NOATIME SYMBOLIC(O_NOATIME)
|
|
#define O_NOCTTY SYMBOLIC(O_NOCTTY)
|
|
#define O_NOFOLLOW SYMBOLIC(O_NOFOLLOW)
|
|
#define O_NOFOLLOW_ANY SYMBOLIC(O_NOFOLLOW_ANY)
|
|
#define O_NONBLOCK SYMBOLIC(O_NONBLOCK)
|
|
#define O_PATH SYMBOLIC(O_PATH)
|
|
#define O_RANDOM SYMBOLIC(O_RANDOM)
|
|
#define O_RDONLY SYMBOLIC(O_RDONLY)
|
|
#define O_RDWR SYMBOLIC(O_RDWR)
|
|
#define O_RSYNC SYMBOLIC(O_RSYNC)
|
|
#define O_SEARCH SYMBOLIC(O_SEARCH)
|
|
#define O_SEQUENTIAL SYMBOLIC(O_SEQUENTIAL)
|
|
#define O_SHLOCK SYMBOLIC(O_SHLOCK)
|
|
#define O_SPARSE SYMBOLIC(O_SPARSE)
|
|
#define O_SYNC SYMBOLIC(O_SYNC)
|
|
#define O_TMPFILE SYMBOLIC(O_TMPFILE)
|
|
#define O_TRUNC SYMBOLIC(O_TRUNC)
|
|
#define O_TTY_INIT SYMBOLIC(O_TTY_INIT)
|
|
#define O_VERIFY SYMBOLIC(O_VERIFY)
|
|
#define O_WRONLY SYMBOLIC(O_WRONLY)
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_O_H_ */
|