Allocate a stack for an asynchronous job (POSIX custom stack allocator).

Synopsis

Declared in <openssl/async.h>

typedef void*(* ASYNC_stack_alloc_fn)(size_t*);

Return Value

Pointer to the allocated stack base, or NULL on failure.

Parameters

Name

Description

num

On entry, requested stack size in bytes; on return, actual size of the allocated stack.

Created with MrDocs