FreeBSD Manual Pages
GETABLEXPRNUMOCC(3) ABL FUNCTIONS GETABLEXPRNUMOCC(3) NAME getablexprnumocc - how many times a name appears in an expression. SYNOPSIS #include "abl101.h" long getablexprnumocc( Expr, Name ) chain_list *Expr; char *Name; PARAMETERS Expr Expression. Name Name to find. DESCRIPTION getablexprnumocc gives the number of occurrents of Name in Expr. RETURN VALUE getablexprnumocc returns number of occurrents of Name in Expr. EXAMPLE #include "abl101.h" chain_list *Expr; Expr = createablbinexpr( ABL_AND, createablatom( "a" ), createablatom( "b" ) ); /* displays 1 */ printf( "%d", getablexprnumocc( Expr, "a" ) ); SEE ALSO abl(1) ASIM/LIP6 October 1, 1997 GETABLEXPRNUMOCC(3)
NAME | SYNOPSIS | PARAMETERS | DESCRIPTION | RETURN VALUE | EXAMPLE | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=getablexprnumocc&sektion=3&manpath=FreeBSD+Ports+15.0>
