SIMPLE SOLUTIONS

INCATALOGDELETE(3) - man page online | library functions

Test if cell belongs to the catalog file.

Chapter
October 1, 1997
INCATALOGDELETE(3)                    MBK UTILITY FUNCTIONS                    INCATALOGDELETE(3)

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).
ASIM/LIP6 October 1, 1997 INCATALOGDELETE(3)
This manual Reference Other manuals
incatalogdelete(3) referred by catal(5) | incatalog(3) | incatalogfeed(3) | incataloggds(3)
refer to incatalog(3) | incatalogfeed(3) | incataloggds(3) | MBK_CATA_LIB(1) | MBK_CATAL_NAME(1) | MBK_WORK_LIB(1)