1INCATALOGDELETE(3)           MBK UTILITY FUNCTIONS          INCATALOGDELETE(3)
2
3
4

NAME

6       incatalogdelete - test if cell belongs to the catalog file
7

SYNOPSIS

9       #include "mut.h"
10       int incatalogdelete(figname)
11       char ∗figname;
12

PARAMETER

14       figname             Name of the cell to be checked
15

DESCRIPTION

17       incatalogdelete  checks a cell represented by its figname being present
18       in the catalog file with the 'D' attribut.  This means that the cell is
19       to  be deleted from the catalog.  incatalogdelete returns 0 if the cell
20       does not belong to the catalog with the 'D' attribut, 1 if it does.
21       The catalog is the sum of all the catalogs of the cells libraries spec‐
22       ified  in the MBK_CATA_LIB(1) and MBK_WORK_LIB(1).  The catalogs of the
23       MBK_CATA_LIB(1) are the files called CATAL, and the MBK_WORK_LIB(1)  is
24       by default CATAL but can be changed to MBK_CATAL_NAME(1).
25

RETURN VALUE

27       incatalogdelete  returns  0  if the cell does not belong to the catalog
28       with the 'D' attribut, a value different from 0 if it does.
29

EXAMPLE

31       #include "mut.h"
32       char ∗tell_if_incatalogdelete(name)
33       char ∗name;
34       {
35          return incatalogdelete(name) ? "Not checked for catalog" : "Checked";
36       }
37

SEE ALSO

39       mbk(1), incatalog(3), incatalogfeed(3).  incataloggds(3).
40
41
42
43
44
45
46ASIM/LIP6                       October 1, 1997             INCATALOGDELETE(3)
Impressum