sieve_next_string_arg
Last updated March 2020
Name
sieve_next_string_arg — Return the next string argument
Synopsis
#include "sieve/ecsieve.h"
| int **sieve_next_string_arg** (
| arg, | |
| | iter, | |
| | str, | |
| | len)
; | |
SIEVEARGS * <var class="pdparam">arg</var>
;
sieve_string_arg_iterator * <var class="pdparam">iter</var>
;
char ** <var class="pdparam">str</var>
;
int * <var class="pdparam">len</var>
;
Description
Return the next string argument.
- arg
-
The argument list.
- iter
-
The iterator. The data type of this parameter is defined as follows:
typedef int sieve_string_arg_iterator;
- str
-
The pointer that will point to the next string argument.
- len
-
The length of the returned string.
On success this function returns 1
; on failure, 0
.
It is legal to call this function in the thread.
See Also
Was this page helpful?