---
name: "function::task_cwd_path"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::task_cwd_path"
---

# function::task\_cwd\_path(3stap)

get the path struct pointer for a task's current working directory

## NAME

function::task\_cwd\_path - get the path struct pointer for a task's current working directory

## SYNOPSIS

```
    task_cwd_path:long(task:long)
```

## ARGUMENTS

*task*

task\_struct pointer.
