---
name: "call_usermodehelper"
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/call_usermodehelper"
---

# call\_usermodehelper(9)

prepare and start a usermode application

## NAME

call\_usermodehelper - prepare and start a usermode application

## SYNOPSIS

**int call\_usermodehelper(char \*** *path***, char \*\*** *argv***, char \*\*** *envp***, int** *wait***);**

## ARGUMENTS

*path*

path to usermode executable

*argv*

arg vector for process

*envp*

environment for process

*wait*

wait for the application to finish and return status. when UMH\_NO\_WAIT don't wait at all, but you get no useful error back when the program couldn't be exec'ed. This makes it safe to call from interrupt context.

## DESCRIPTION

This function is the equivalent to use **call\_usermodehelper\_setup** and **call\_usermodehelper\_exec**.

## COPYRIGHT
