Add mlock() and munlock()

This commit is contained in:
Justine Tunney 2023-04-27 10:42:52 -07:00
parent 7c9ef924bf
commit fec139f423
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 115 additions and 2 deletions

View file

@ -69,6 +69,8 @@ void *mremap(void *, size_t, size_t, int, ...);
int munmap(void *, uint64_t);
int mprotect(void *, uint64_t, int) privileged;
int msync(void *, size_t, int);
int mlock(const void *, size_t);
int munlock(const void *, size_t);
void *sbrk(intptr_t);
int brk(void *);
long gethostid(void);