isablnameinexpr(3) - Linux man page
Oper
isablnameinexpr - tests if a name appears in an expression.
Synopsys
#include "abl101.h" int isablnameinexpr( Expr, Name ) chain_list ∗Expr; char ∗Name;
Parameters
- Expr
Expression where to search.
Name
Name to search.
Description
isablnameinexpr tests if Name appears in Expr.
Return Value
isablnameinexpr returns 1 if Name 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", isablnameinexpr( Expr, "a" ) );
See Also
abl(1)