Updated: April 19, 2023 |
Return the Address Space Layout Randomization (ASLR) setting from a posix_spawn() attribute structure
#include <spawn.h> int posix_spawnattr_getaslr( const posix_spawnattr_t * attrp, posix_spawnattr_aslr_t * aslr);
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The posix_spawnattr_getaslr() function gets the value of the Address Space Layout Randomization (ASLR) setting in the spawn attributes object that attrp points to. You must have already initialized this object by calling posix_spawnattr_init().
For more information about spawn attributes, see the entry for posix_spawn().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |