mirror of
git://git.musl-libc.org/musl
synced 2024-12-23 15:12:32 +00:00
21ada94c4b
in a sense this implementation is incomplete since it doesn't provide the HWCAP_* macros for use with AT_HWCAP, which is perhaps the most important intended usage case for getauxval. they will be added at a later time.
17 lines
176 B
C
17 lines
176 B
C
#ifndef _SYS_AUXV_H
|
|
#define _SYS_AUXV_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <elf.h>
|
|
|
|
unsigned long getauxval(unsigned long);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|