unw_is_fpreg - Man Page

check if a register is a floating-point register

Synopsis

#include <libunwind.h>

int unw_is_fpreg(unw_regnum_t reg);

Description

The unw_is_fpreg() routine checks whether register number  reg is a floating-point register.

This routine is normally implemented as a macro and applications  should not attempt to take its address.

Return Value

The unw_is_fpreg() routine returns a non-zero value if  reg is a floating-point register. Otherwise, it returns a value  of 0.

Thread and Signal Safety

unw_is_fpreg() is thread safe as well as safe to use  from a signal handler.

See Also

libunwind(3libunwind), unw_get_reg(3libunwind), unw_set_reg(3libunwind), unw_get_fpreg(3libunwind), unw_set_fpreg(3libunwind)

Author

David Mosberger-Tang
Email: dmosberger@gmail.com
WWW: http://www.nongnu.org/libunwind/.

Info

22 December 2023 Programming Library