---
name: "wait_for_completion_killable"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/wait_for_completion_killable"
---

# wait\_for\_completion\_killable(9)

waits for completion of a task (killable)

## NAME

wait\_for\_completion\_killable - waits for completion of a task (killable)

## SYNOPSIS

**int \_\_sched wait\_for\_completion\_killable(struct completion \*** *x***);**

## ARGUMENTS

*x*

holds the state of this particular completion

## DESCRIPTION

This waits to be signaled for completion of a specific task. It can be interrupted by a kill signal.

The return value is -ERESTARTSYS if interrupted, 0 if completed.

## COPYRIGHT
