mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
- Fix bugs in kDos2Errno definition - malloc() should now be thread safe - Fix bug in rollup.com header generator - Fix open(O_APPEND) on the New Technology - Fix select() on the New Technology and test it - Work towards refactoring i/o for thread safety - Socket reads and writes on NT now poll for signals - Work towards i/o completion ports on the New Technology - Make read() and write() intermittently check for signals - Blinkenlights keyboard i/o so much better on NT w/ poll() - You can now poll() files and sockets at the same time on NT - Fix bug in appendr() that manifests with dlmalloc footers off
36 lines
1.4 KiB
C
36 lines
1.4 KiB
C
#ifndef COSMOPOLITAN_LIBC_INTRIN_DESCRIBEFLAGS_INTERNAL_H_
|
|
#define COSMOPOLITAN_LIBC_INTRIN_DESCRIBEFLAGS_INTERNAL_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
#include "libc/nt/struct/securityattributes.h"
|
|
|
|
struct thatispacked DescribeFlags {
|
|
unsigned flag;
|
|
const char *name;
|
|
};
|
|
|
|
const char *DescribeFlags(char *, size_t, struct DescribeFlags *, size_t,
|
|
const char *, unsigned);
|
|
|
|
const char *DescribeMapFlags(int);
|
|
const char *DescribeProtFlags(int);
|
|
const char *DescribeRemapFlags(int);
|
|
|
|
const char *DescribeNtPageFlags(uint32_t);
|
|
const char *DescribeNtStartFlags(uint32_t);
|
|
const char *DescribeNtFileMapFlags(uint32_t);
|
|
const char *DescribeNtFiletypeFlags(uint32_t);
|
|
const char *DescribeNtPipeOpenFlags(uint32_t);
|
|
const char *DescribeNtPipeModeFlags(uint32_t);
|
|
const char *DescribeNtFileShareFlags(uint32_t);
|
|
const char *DescribeNtFileAccessFlags(uint32_t);
|
|
const char *DescribeNtProcessAccessFlags(uint32_t);
|
|
const char *DescribeNtCreationDisposition(uint32_t);
|
|
const char *DescribeNtConsoleModeInputFlags(uint32_t);
|
|
const char *DescribeNtConsoleModeOutputFlags(uint32_t);
|
|
const char *DescribeNtFileFlagsAndAttributes(uint32_t);
|
|
const char *DescribeNtSecurityAttributes(struct NtSecurityAttributes *);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_INTRIN_DESCRIBEFLAGS_INTERNAL_H_ */
|