.\" Automatically generated by Pandoc 2.17.1.1 .\" .TH "FUTURE_CONTEXT_GET_SIZE" "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_size\f[R]() - get the combined size of future data and output .SH SYNOPSIS .IP .nf \f[C] #include struct future_context; size_t future_context_get_size(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_size\f[R]() function reads the combined size of the data and output structures from the future context \f[I]context\f[R]. Data structure type and output structure type correspond respectively to the \f[I]_data_type\f[R] and \f[I]_output_type\f[R] parameters that are provided to the **FUTURE(_name, _data_type, _output_type)** macro during future creation. .SS RETURN VALUE .PP The \f[B]future_context_get_size\f[R]() function returns combined size of the future data and output structures. .SH SEE ALSO .PP \f[B]miniasync\f[R](7), \f[B]miniasync_future\f[R](7) and \f[B]\f[R]