sieve_get_arg_as_string
Last updated March 2020
Name
sieve_get_arg_as_string — Return the specified argument as a string
Synopsis
#include "sieve/ecsieve.h"
| int **sieve_get_arg_as_string** (
| args, | |
| | n, | |
| | str, | |
| | len)
; | |
SIEVEARGS * <var class="pdparam">args</var>
;
int <var class="pdparam">n</var>
;
char ** <var class="pdparam">str</var>
;
int * <var class="pdparam">len</var>
;
Description
Return the argument at the specified zero-based index as a string.
- args
-
The argument list.
- n
-
Which argument to examine, indexed from 0.
- str
-
The pointer to the returned string.
- len
-
The length of the string.
On success this function returns 1
; on failure 0
.
It is legal to call this function in any thread.
See Also
Was this page helpful?