mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Improve documentation
The Cosmo API documentation page is pretty good now https://justine.lol/cosmopolitan/documentation.html
This commit is contained in:
parent
13437dd19b
commit
1bc3a25505
367 changed files with 2542 additions and 26178 deletions
17
libc/runtime/ezmap.internal.h
Normal file
17
libc/runtime/ezmap.internal.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_RUNTIME_EZMAP_INTERNAL_H_
|
||||
#define COSMOPOLITAN_LIBC_RUNTIME_EZMAP_INTERNAL_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct MappedFile {
|
||||
int fd;
|
||||
void *addr;
|
||||
size_t size;
|
||||
};
|
||||
|
||||
int MapFileRead(const char *, struct MappedFile *) hidden;
|
||||
int UnmapFile(struct MappedFile *) hidden;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_RUNTIME_EZMAP_INTERNAL_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue