blob: ca7011b006aacae1bba5721af5f1e82446db43f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
.help cqlocaten Mar00 "Catquery Package"
.ih
NAME
cqlocaten -- locate a catalog / survey record by number
.ih
SYNOPSIS
catno = cq_locaten (cq, catno, catname, maxch)
.nf
pointer cq # the configuration file descriptor
int catno # the number of the catalog / survey to be located
char catname # the name of the located catalog
int maxch # the maximum size of the name of the located catalog
.fi
.ih
ARGUMENTS
.ls cq
The configuration file descriptor.
.le
.ls catno
The sequence number of the catalog / survey record to be located.
.le
.ls catname
The name of the located catalog.
.le
.ls maxch
The maximum size of the name of the located catalog.
.le
.ih
DESCRIPTION
Cq_locaten locates a catalog / survey record in the configuration file by
sequence number. Cq_locaten is an integer function which returns the catalog
/ survey record sequence number as its function value. Zero is returned
if the catalog record is not located. Cq_locaten also returns the name of the
located catalog in the array catname.
.ih
NOTES
Cq_locaten is used to determine whether the requested record exists. It does
not set the current catalog / survey. This must be done with a call to
cq_setcat or cq_setcatn.
.ih
SEE ALSO
cqlocate, cqsetcat, cqsetcatn
.endhelp
|