2022-05-23 22:06:11 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_CALLS_SYSCALL_SUPPORT_NT_INTERNAL_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_CALLS_SYSCALL_SUPPORT_NT_INTERNAL_H_
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2023-07-24 15:31:54 +00:00
|
|
|
bool isdirectory_nt(const char *);
|
|
|
|
bool isregularfile_nt(const char *);
|
|
|
|
bool issymlink_nt(const char *);
|
|
|
|
bool32 ntsetprivilege(int64_t, const char16_t *, uint32_t);
|
|
|
|
char16_t *CreatePipeName(char16_t *);
|
|
|
|
int __mkntpath(const char *, char16_t[hasatleast PATH_MAX]);
|
|
|
|
int __mkntpath2(const char *, char16_t[hasatleast PATH_MAX], int);
|
|
|
|
int __mkntpathat(int, const char *, int, char16_t[hasatleast PATH_MAX]);
|
|
|
|
int __sample_pids(int[hasatleast 64], int64_t[hasatleast 64], bool);
|
|
|
|
int ntaccesscheck(const char16_t *, uint32_t) paramsnonnull();
|
|
|
|
int sys_pause_nt(void);
|
|
|
|
int64_t __fix_enotdir(int64_t, char16_t *);
|
|
|
|
int64_t __fix_enotdir3(int64_t, char16_t *, char16_t *);
|
2022-05-23 22:06:11 +00:00
|
|
|
int64_t __winerr(void) nocallback privileged;
|
|
|
|
int64_t ntreturn(uint32_t);
|
2023-07-24 15:31:54 +00:00
|
|
|
void *GetProcAddressModule(const char *, const char *);
|
|
|
|
void WinMainForked(void);
|
|
|
|
void _check_sigalrm(void);
|
|
|
|
void _check_sigchld(void);
|
2022-05-23 22:06:11 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_SYSCALL_SUPPORT_NT_INTERNAL_H_ */
|