---
name: "PAPIF_event_name_to_code"
section: "3"
platform: "linux"
package: "libpapi-dev"
version: "7.1.0-5+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PAPIF_event_name_to_code"
---

# PAPIF\_event\_name\_to\_code(3)

Convert a name to a numeric hardware event code.

## NAME

PAPIF\_event\_name\_to\_code - Convert a name to a numeric hardware event code.

## SYNOPSIS

## Detailed Description

**Fortran Interface:**

\#include 'fpapi.h' \
\
  **PAPIF\_event\_name\_to\_code( C\_STRING EventName, C\_INT EventCode, C\_INT check )**

**See also**

**PAPI\_event\_name\_to\_code**

## Author

Generated automatically by Doxygen for PAPI from the source code.
