dynlib: use posix module (#11623)

This commit is contained in:
Jacek Sieka 2019-07-08 09:14:35 +02:00 • committed by Miran
commit 9e7d885f35
6 changed files with 32 additions and 50 deletions

View file

@ -418,6 +418,9 @@ const PROT_READ* = cint(1)
const PROT_WRITE* = cint(2)
const PROT_EXEC* = cint(4)
const PROT_NONE* = cint(0)
const MAP_ANONYMOUS* = cint(32)
const MAP_FIXED_NOREPLACE* = cint(1048576)
const MAP_NORESERVE* = cint(16384)
const MAP_SHARED* = cint(1)
const MAP_PRIVATE* = cint(2)
const MAP_FIXED* = cint(16)
@ -634,7 +637,7 @@ const SC_MQ_OPEN_MAX* = cint(27)
const SC_MQ_PRIO_MAX* = cint(28)
const SC_NGROUPS_MAX* = cint(3)
const SC_OPEN_MAX* = cint(4)
const SC_PAGE_SIZE* = cint(30)
const SC_PAGESIZE* = cint(30)
const SC_PRIORITIZED_IO* = cint(13)
const SC_PRIORITY_SCHEDULING* = cint(10)
const SC_RAW_SOCKETS* = cint(236)