aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libc_compat/ubuntu_14/getauxval.cpp
blob: 9f20dd019538efec9087f7c0e7c010a0a2e8c725 (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);
    }
}