Skip to main content

Name

sieve_get_arg_lineno — Get the current line number

Synopsis

#include "sieve/ecsieve.h"

| **sieve_get_arg_lineno** ( | args, |   | |   | n); |   |

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

Description

Get the current line number; typically used with sieve_error.

Parameters

args

The argument list.

Return Values

On success the line number is returned; otherwise 0 is returned.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?