Open System Services Library Calls Reference Manual (G06.27+, H06.04+)

advance(3) OSS Library Calls Reference Manual
compile (patstr, expbuf, &expbuf[ESIZE], \0);
...
if (step (linebuf, expbuf))
succeed( );
...
RETURN VALUES
Whenever a successful match occurs, the advance() macro returns a nonzero value. Upon |
failure, this macro returns a value of 0 (zero).
ERRORS
None. This macro does not set errno.|
RELATED INFORMATION
Functions: compile(3), isalpha(3), regcomp(3), regexec(3), step(3).|
Commands: ed(1), sed(1), grep(1).
110 Hewlett-Packard Company 527187-004