strpattern_context_sync()

Get the specification of synchronous or asynchronous execution of pattern matching.

Synopsis:

#include </strpattern.h>
 
int strpattern_context_sync(const strpattern_context *context, int *err)

Arguments:

context

The context object whose execution setting is returned.

err

STRPATTERN_EOK if there is no error.

Library:

libstrpattern

Description:

Returns:

The type of pattern matching execution specified. STRPATTERN_CONTEXT_EXEC_AUTO on error.