sieve_get_arg_as_numeric

March 26, 2020 Contributors

Name

sieve_get_arg_as_numeric — obtain a numeric sieve argument from either a string or a number representation

Synopsis

#include "sieve/ecsieve.h"

| int **sieve_get_arg_as_numeric** ( | args, |   |
|   | n, |   |
|   | number); |   |

SIEVEARGS * <var class="pdparam">args</var>;
int <var class="pdparam">n</var>;
int64_t * <var class="pdparam">number</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

obtain a numeric sieve argument from either a string or a number representation

Parameters

args

the sieve args

n

arg index

number

the resulting number (signed 64-bit)

Return Values

1 on success, 0 on failure