mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
d230a01222
- Fix some minor issues in ar.com - Have execve() look for `ape` command - Rewrite NT paths using /c/ rather /??/c:/ - Replace broken GCC symlinks with .sym files - Rewrite $PATH environment variables on startup - Make $(APE_NO_MODIFY_SELF) the default bootloader - Add all build command dependencies to build/bootstrap - Get the repository mostly building from source on non-Linux
19 lines
855 B
C
19 lines
855 B
C
#ifndef COSMOPOLITAN_LIBC_CALLS_NTSPAWN_H_
|
|
#define COSMOPOLITAN_LIBC_CALLS_NTSPAWN_H_
|
|
#include "libc/nt/struct/processinformation.h"
|
|
#include "libc/nt/struct/securityattributes.h"
|
|
#include "libc/nt/struct/startupinfo.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
int mkntcmdline(char16_t[ARG_MAX / 2], const char *, char *const[]) hidden;
|
|
int mkntenvblock(char16_t[ARG_MAX / 2], char *const[], const char *,
|
|
char[ARG_MAX]) hidden;
|
|
int ntspawn(const char *, char *const[], char *const[], const char *,
|
|
struct NtSecurityAttributes *, struct NtSecurityAttributes *,
|
|
bool32, uint32_t, const char16_t *, const struct NtStartupInfo *,
|
|
struct NtProcessInformation *) hidden;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_NTSPAWN_H_ */
|