1INCATALOGFEED(3) MBK UTILITY FUNCTIONS INCATALOGFEED(3)
2
3
4
6 incatalogfeed - test if cell belongs to the catalog file
7
9 #include "mut.h"
10 int incatalogfeed(figname)
11 char ∗figname;
12
14 figname Name of the cell to be checked
15
17 incatalogfeed checks a cell represented by its figname being present in
18 the catalog file with the 'F' attribut. This means that the cell is a
19 feed through, and does not have a logical equivalent representation
20 while being physicaly used.
21 This information is mostly needed by routers, since "logical feed
22 through" has no design meaning.
23 The catalog is the sum of all the catalogs of the cells libraries spec‐
24 ified in the MBK_CATA_LIB(1) and MBK_WORK_LIB(1). The catalogs of the
25 MBK_CATA_LIB(1) are the files called CATAL, and the MBK_WORK_LIB(1) is
26 by default CATAL but can be changed to MBK_CATAL_NAME(1).
27
29 incatalogfeed returns 0 if the cell does not belong to the catalog with
30 the 'F' attribut, a value different from 0 if it does.
31
33 #include "mut.h"
34 char ∗tell_if_incatalogfeed(name)
35 char ∗name;
36 {
37 return incatalogfeed(name) ? "Jawohl, mein Herr" : "Nein, danke";
38 }
39
41 mbk(1), incatalog(3), incatalogdelete(3), incataloggds(3).
42
43
44
45
46
47
48ASIM/LIP6 October 1, 1997 INCATALOGFEED(3)