= nng_inproc_register(3)
//
// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This document is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
// file was obtained (LICENSE.txt).  A copy of the license may also be
// found online at https://opensource.org/licenses/MIT.
//

== NAME

nng_inproc_register - register inproc transport

== SYNOPSIS

[source,c]
----
#include <nng/transport/inproc/inproc.h>

int nng_inproc_register(void);
----

== DESCRIPTION

The `nng_inproc_register()` function registers the
((_inproc_ transport))(((transport, _inproc_))) for use.

== RETURN VALUES

This function returns 0 on success, and non-zero otherwise.

== ERRORS

`NNG_ENOMEM`:: Insufficient memory is available.
`NNG_ENOTSUP`:: The transport is not supported.

== SEE ALSO

<<nng_inproc.7#,nng_inproc(5)>>,
<<nng.7#,nng(7)>>
