Add contants RTLD contants on os_linux and posix (dlfcn).

This commit is contained in:
Isaac Andrade
2024-08-28 22:15:11 -06:00
parent f0e631cfa3
commit 4577d541ec
2 changed files with 16 additions and 4 deletions
+7 -4
View File
@@ -242,10 +242,13 @@ F_SETFL: int : 4 /* Set file flags */
// NOTE(zangent): These are OS specific!
// Do not mix these up!
RTLD_LAZY :: 0x001
RTLD_NOW :: 0x002
RTLD_BINDING_MASK :: 0x3
RTLD_GLOBAL :: 0x100
RTLD_LAZY :: 0x0001
RTLD_NOW :: 0x0002
RTLD_BINDING_MASK :: 0x0003
RTLD_GLOBAL :: 0x0100
RTLD_NOLOAD :: 0x0004
RTLD_DEEPBIND :: 0x0008
RTLD_NODELETE :: 0x1000
socklen_t :: c.int