# proc_start

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/proc.c#L181
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-proc_start/

```c
struct tmuxproc * proc_start(const char *name)
```

## Parameters

- `name` (`const char *`)

## Called by

- [`client_main`](/en/tmux/3.2a/reference/c-function-client_main/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/client.c#L275)
- [`server_start`](/en/tmux/3.2a/reference/c-function-server_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server.c#L196)

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/proc.c#L192)
- [`log_open`](/en/tmux/3.2a/reference/c-function-log_open/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/proc.c#L186)
- [`setproctitle`](/en/tmux/3.2a/reference/c-function-setproctitle/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/proc.c#L187)
- [`xcalloc`](/en/tmux/3.2a/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/proc.c#L208)
- [`xstrdup`](/en/tmux/3.2a/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/proc.c#L209)

## Other function references

- [`getversion`](/en/tmux/3.2a/reference/c-function-getversion/) (function)

## Referenced declarations

- [`tmuxproc.name`](/en/tmux/3.2a/reference/c-struct-tmuxproc-name/) (attribute)
- [`tmuxproc.peers`](/en/tmux/3.2a/reference/c-struct-tmuxproc-peers/) (attribute)
- [`PROTOCOL_VERSION`](/en/tmux/3.2a/reference/c-define-tmux-h-protocol_version/) (constant)
- [`socket_path`](/en/tmux/3.2a/reference/c-variable-socket_path/) (attribute)
- [`tmuxproc`](/en/tmux/3.2a/reference/c-struct-tmuxproc/) (struct)
