FUNCTION::TASK\_CWD\_P(3stap) Context Functions FUNCTION::TASK\_CWD\_P(3stap)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

```


    task_cwd_path:long(task:long)
```

# [ARGUMENTS](#ARGUMENTS)

*task*

task\_struct pointer.

September 2026 SystemTap Tapset Reference Ver

---

Document: function::task_cwd_path(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
