aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libc_compat/ubuntu_14/getauxval.cpp
blob: 702abf3bbbc05afe2c1cba728be02a23b4bb6e7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <sys/auxv.h> 
 
#include "glibc.h" 
#include "features.h" 
 
extern "C" { 
    unsigned long getauxval(unsigned long item) noexcept { 
        return NUbuntuCompat::GetGlibc().GetAuxVal(item); 
    } 
}