incatalogdelete(3) - Linux man page
Name
incatalogdelete - test if cell belongs to the catalog file
Synopsys
#include "mut.h" int incatalogdelete(figname) char ∗figname;
Parameter
- figname
Name of the cell to be checked
Description
incatalogdelete checks a cell represented by its figname beeing present in the catalog file with the 'D' attribut. This means that the
cell is to be deleted from the catalog. incatalogdelete returns 0 if the cell does not belong to the catalog with the 'D' attribut,
1 if it does.
The catalog is the sum of all the catalogs of the cells libraries specified in the mbk_cata_lib(1) and mbk_work_lib(1). The catalogs of the
mbk_cata_lib(1) are the files called CATAL, and the mbk_work_lib(1) is by default CATAL but can be changed to
mbk_catal_name(1).
Return Value
incatalogdelete returns 0 if the cell does not belong to the catalog with the 'D' attribut, a value different from 0 if it does.
Example
#include "mut.h"
char ∗tell_if_incatalogdelete(name)
char ∗name;
{
return incatalogdelete(name) ? "Not checked for catalog" : "Checked";
- }
See Also
mbk(1), incatalog(3), incatalogfeed(3). incataloggds(3).