|
|
1.1 root 1: .th KCOMPARE AM 9/6/77
2: .sh NAME
3: kcompare - compare a tuple and a key
4: .sh SYNOPSIS
5: .nf
6: kcompare(d, tuple, key)
7: struct descriptor *d;
8: char tuple[MAXTUP], key[MAXTUP];
9: .fi
10: .sh DESCRIPTION
11: KCOMPARE will compare each domain in key
12: which was set by SETKEY, with the corresponding domain in tuple.
13: Domains are compared in ascending domain number sequence
14: and NOT according to key number sequence.
15: .sh DIAGNOSTICS
16: .nf
17: < 0 -- tuple is less than key
18: 0 -- tuple equals key
19: > 0 -- tuple is greater than key
20: .fi
21: .sh "SEE ALSO"
22: clearkeys, find, getequal, icompare, setkey
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.