---
name: "unw_is_fpreg"
section: "3libunwind"
platform: "linux"
package: "libunwind-dev"
version: "1.8.1-0.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/unw_is_fpreg/3libunwind"
---

# unw\_is\_fpreg(3libunwind)

## NAME

unw\_is\_fpreg -- 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/**.
