---
name: "TAU_GET_FUNC_NAMES"
section: "3"
platform: "linux"
package: "tau"
version: "2.17.3.1.dfsg-4.2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/TAU_GET_FUNC_NAMES"
---

# TAU\_GET\_FUNC\_NAMES(3)

Gets the function names

## NAME

TAU\_GET\_FUNC\_NAMES - Gets the function names

## SYNOPSIS

**C/C++:**

**TAU\_GET\_FUNC\_NAMES(char \*\****functionList***, int** *numFuncs***);**

## DESCRIPTION

This macro fills the funcList argument with the list of timer and routine names. It also records the number of routines active in the numFuncs argument.

## EXAMPLE

**C/C++ :**

```
  const char ** functionList;
  int numOfFunctions;
  TAU_GET_FUNC_NAMES(functionList, numOfFunctions);
  for(int i=0;i<numOfFunctions;i++){
    cout << "This function names so far are: " << functionList[i] << endl;
  }
```

## SEE ALSO

[TAU\_GET\_COUNTER\_NAMES(3)](/TAU_GET_COUNTER_NAMES/3.md), [TAU\_GET\_FUNC\_VALS(3)](/TAU_GET_FUNC_VALS/3.md), [TAU\_DUMP\_FUNC\_NAMES(3)](/TAU_DUMP_FUNC_NAMES/3.md), [TAU\_DUMP\_FUNC\_VALS(3)](/TAU_DUMP_FUNC_VALS/3.md)
