.\" $Id: isablbinaryoper.3,v 1.1 2002/03/18 11:06:16 ludo Exp $ .\" @(#)isablbinaryoper.2 2.7 96/07/02 ; Labo masi cao-vlsi; Author : Jacomme Ludovic .TH ISABLBINARYOPER 3 "October 1, 1997" "ASIM/LIP6" "ABL FUNCTIONS" .SH NAME isablbinaryoper \- tests if an operator is binary. .so buster/alliance/alc_origin.1.en.gz .SH SYNOPSYS .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include "abl101.h" int isablbinaryoper( Oper ) long Oper; .ft R .fi .SH PARAMETERS .TP 20 \fIOper\fP Operator number. .SH DESCRIPTION \fBisablbinaryoper\fP tests if \fIOper\fP is binary. .br .SH RETURN VALUE \fBisablbinaryoper\fP returns 1 if \fIOper\fP is binary, -1 if \fIOper\fP is not a valid number, and 0 otherwise. .SH EXAMPLE .ta 3n 6n 9n 12n 15n 18n 21n .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include "abl101.h" /* displays 1 0 */ printf( "%d ", isablbinaryoper( ABL_OR ) ); printf( "%d\n", isablbinaryoper( ABL_NOT ) ); .ft R .fi .SH SEE ALSO .BR abl (1) .so buster/alliance/alc_bug_report.1.en.gz