---
name: "NWCallsInit"
section: "3ncp"
platform: "linux"
package: "libncp-dev"
version: "2.2.6-9"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/NWCallsInit"
---

# NWCallsInit(3ncp)

initializes NCP library

## NAME

NWCallsInit - initializes NCP library

## SYNOPSIS

**#include \<nwcalls.h\>**

**NWCCODE NWCallsInit(void\*** *p1***, void\*** *p2***);**

## DESCRIPTION

You must call this function as first function from program using **libncp** library. *p1* and *p2* are reserved and must be passed as *NULL* to this function.

## RETURN VALUE

Function returns **zero** on success and **non-zero** on failure. See [*nwerrors*(3ncp)](/nwerrors/3ncp.md) for **libncp** error codes.

## BUGS

None known.

## SEE ALSO

[**nwerrors**(3ncp)](/nwerrors/3ncp.md), **NWCallsTerm**(3ncp)
