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

@ -23,6 +23,7 @@
#define _POSIX_READER_WRITER_LOCKS _POSIX_VERSION
#define _POSIX_SEMAPHORES _POSIX_VERSION
#define _POSIX_SHARED_MEMORY_OBJECTS _POSIX_VERSION
#define _POSIX_MEMLOCK_RANGE _POSIX_VERSION
#define EOF -1 /* end of file */
#define WEOF -1u /* end of file (multibyte) */