mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Implement zipos mmap (#725)
This commit is contained in:
parent
6d36584ff2
commit
fd0da9c0df
7 changed files with 175 additions and 4 deletions
|
@ -48,6 +48,8 @@ ssize_t __zipos_write(struct ZiposHandle *, const struct iovec *, size_t,
|
|||
int64_t __zipos_lseek(struct ZiposHandle *, int64_t, unsigned) _Hide;
|
||||
int __zipos_fcntl(int, int, uintptr_t) _Hide;
|
||||
int __zipos_notat(int, const char *) _Hide;
|
||||
void *__zipos_mmap(void *, uint64_t, int32_t, int32_t, struct ZiposHandle *,
|
||||
int64_t) _Hide;
|
||||
|
||||
#ifdef _NOPL0
|
||||
#define __zipos_lock() _NOPL0("__threadcalls", __zipos_lock)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue