mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-16 23:50:32 +00:00
Work towards zipos / open(argv[0]) on metal (#667)
This commit is contained in:
parent
543c93f623
commit
cb9a0466f1
17 changed files with 257 additions and 46 deletions
|
@ -9,6 +9,12 @@ struct MetalFile {
|
|||
size_t pos;
|
||||
};
|
||||
|
||||
extern void *__ape_com_base;
|
||||
extern size_t __ape_com_size;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define APE_COM_NAME "/proc/self/exe"
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_CALLS_METALFILE_INTERNAL_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue