isabloperinexpr(3) - Linux man page
Name
isabloperinexpr - tests if an operator appears in an expression.
Synopsys
#include "abl101.h" int isabloperinexpr( Expr, Oper ) chain_list ∗Expr; long Oper;
Parameters
- Expr
Expression where to search.
Oper
Operator to search.
Description
isabloperinexpr tests if Oper appears in Expr.
Return Value
isabloperinexpr returns 1 if Oper appears in Expr and 0 otherwise.
Example
#include "abl101.h"
chain_list ∗Expr;
Expr = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
/* displays 1 */
printf( "%d", isabloperinexpr( Expr, ABL_AND ) );
See Also
abl(1)