---
name: "mutex_init"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/mutex_init"
---

# mutex\_init(9)

initialize the mutex

## NAME

mutex\_init - initialize the mutex

## SYNOPSIS

**mutex\_init(***mutex***);**

## ARGUMENTS

*mutex*

the mutex to be initialized

## DESCRIPTION

Initialize the mutex to unlocked state.

It is not allowed to initialize an already locked mutex.

## AUTHOR

**Rusty Russell** \<rusty@rustcorp.com.au\>

Author.

## COPYRIGHT
