Copyright © 2014 by tutorialspoint
arch_prctl - set architecture specific thread state
#include <asm/prctl.h> #include <sys/prctl.h> int arch_prctl(int code, unsigned long addr)
int arch_prctl(int code, unsigned long addr)
The arch_prctl() function sets architecture specific process or thread state. code selects a subfunction and passes argument addr to it.
Sub functions for x86-64 are:
Man page written by Andi Kleen.
arch_prctl() is a Linux/x86-64 extension and should not be used in programs intended to be portable.
mmap (2)
modify_ldt (2)
prctl (2)
set_thread_area (2)
Advertisements
To Continue Learning Please Login
To Continue Learning Please Login
Login with Google