You copied the Doc URL to your clipboard.

Arm Compiler Arm C and C++ Libraries and Floating-Point Support User Guide : C library functions to access subsections of the __user_libspace static data area

library functions to access subsections of the __user_libspace static data area

The __user_perproc_libspace() and __user_perthread_libspace() functions return subsections of the __user_libspace static data area.

__user_perproc_libspace()

Returns a pointer to memory for storing data that is global to an entire process. This data is shared between all threads.

In AArch32 state, returns a pointer to 96 bytes of 4-byte aligned memory.

In AArch64 state, returns a pointer to 192 bytes of 8-byte aligned memory.

__user_perthread_libspace()

Returns a pointer to memory for storing data that is local to a particular thread. This means that __user_perthread_libspace() returns a different address depending on the thread it is called from.

In AArch32 state, returns a pointer to 96 bytes of 4-byte aligned memory.

In AArch64 state, returns a pointer to 192 bytes of 8-byte aligned memory.

Was this page helpful? Yes No