nanomsg next generation NNG  
Home GitHub Documentation

This documentation is for version 0.5.0 of nng, but the latest released version is v1.8.0. see the documentation for v1.8.0 for the most up-to-date information.
nng_aio_get_output(3)

SYNOPSIS

#include <nng/nng.h>

void *nng_aio_get_output(nng_aio *aio, unsigned int index);

DESCRIPTION

The nng_aio_get_output() function returns the output result at index resulting from the asynchronous operation associated with aio.

The type and semantics of output parameters are determined by specific operations.

If the index does not correspond to a defined output for the operation, or the operation did not succeed, then the return value will be NULL.
It is an error to call this function while the aio is currently in use by an active asynchronous operation, or if no operation has been performed using the aio yet.

RETURN VALUES

The indexth result of the operation, or NULL.

ERRORS

None.

NNG Reference Manual v0.5.0 © 2019 Staysail Systems, Inc, © 2018 Capitar IT Group BV
This document is supplied under the MIT License.
nanomsg™ and nng™ are trademarks of Garrett D'Amore.