|
|
1.1 ! root 1: .th ICOMPARE AM 9/6/77 ! 2: .sh NAME ! 3: icompare - compare two domains ! 4: .sh SYNOPSIS ! 5: .nf ! 6: icompare(a, b, frmt, frml) ! 7: char *a, *b, frmt, frml ! 8: .fi ! 9: .sh DESCRIPTION ! 10: ICOMPARE will compare two domains or fields which are ! 11: pointed to by A and B. ! 12: FRMT specifies the type of data ! 13: being compared. ! 14: Its value must correspond to the constants ! 15: CHAR, INT or FLOAT as defined in the "symbol.h" header file. ! 16: FRML specifies the length of the fields being compared. ! 17: The fields may begin at any address, ! 18: i.e. they do not have to begin at a "0 mod 2" or "0 mod 4" address. ! 19: When fields of type CHAR are compared, all leading, trailing ! 20: and embedded blanks are ignored. ! 21: .sh DIAGNOSTICS ! 22: .nf ! 23: < 0 -- A is less than B ! 24: 0 -- A equals B ! 25: > 0 -- A is greater than B ! 26: .fi ! 27: .sh "SEE ALSO" ! 28: kcompare, scompare
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.