.\" Automatically generated by Pandoc 2.17.1.1 .\" .TH "FUTURE_CONTEXT_GET_OUTPUT" "3" "2022-09-04" "MINIASYNC - miniasync version 0.2.1" "MINIASYNC Programmer's Manual" .hy .\" SPDX-License-Identifier: BSD-3-Clause .\" Copyright 2020-2022, Intel Corporation .SH NAME .PP \f[B]future_context_get_output\f[R]() - get future output from future context .SH SYNOPSIS .IP .nf \f[C] #include struct future_context; void *future_context_get_output(struct future_context *context); \f[R] .fi .PP For general description of future API, see \f[B]miniasync_future\f[R](7). .SH DESCRIPTION .PP The \f[B]future_context_get_output\f[R]() function reads the output from future context \f[I]context\f[R]. Output type corresponds to the \f[I]_output_type\f[R] parameter that is provided to the **FUTURE(_name, _data_type, _output_type)** macro during future creation. .PP For more information about the usage of \f[B]future_context_get_output\f[R]() function, see \f[I]basic\f[R] example in \f[I]example\f[R] directory in miniasync repository . .SS RETURN VALUE .PP The \f[B]future_context_get_output\f[R]() function returns pointer to the future output. .SH SEE ALSO .PP \f[B]miniasync\f[R](7), \f[B]miniasync_future\f[R](7) and \f[B]\f[R]