logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

PR_GET_AUXV - get the auxiliary vector

Description

Get the auxiliary vector (auxv) into the buffer pointed to by auxv, whose size is given by size. If the buffer is not long enough for the full auxiliary vector, the copy will be truncated.

Errors

EFAULTauxv is an invalid address.

History

Linux 6.4.

Library

Standard C library (libc, -lc)

Name

PR_GET_AUXV - get the auxiliary vector

Return Value

On success, this call returns the full size of the auxiliary vector. On error, -1 is returned, and errno is set to indicate the error.

See Also

prctl(2) Linux man-pages 6.9.1 2024-06-01 PR_GET_AUXV(2const)

Standards

Linux.

Synopsis

#include<linux/prctl.h> /* Definition of PR_* constants */ #include<sys/prctl.h>intprctl(PR_GET_AUXV,voidauxv[.size],unsignedlongsize,0L,0L);

See Also