GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
INCATALOG(3) MBK UTILITY FUNCTIONS INCATALOG(3)

incatalog - test if cell belongs to the catalog file

See the file man1/alc_origin.1.

#include "mut.h"
int incatalog(figname)
char ∗figname;

Name of the cell to be checked

incatalog checks a cell represented by its figname being present in the catalog file with the 'C' attribut.
This means that when flattening, the hierarchy destruction stops when encountering a cell belonging to the catalog. This is meant for both logical and physical views, of course.
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).

incatalog returns 0 if the cell does not belong to the catalog with the 'C' attribut, a value different from 0 if it does.

#include "mut.h"
char ∗tell_if_incatalog(name)
char ∗name;
{
	return incatalog(name) ? "Jawohl, mein Herr" : "Nein, danke";
}

mbk(1), incatalogfeed(3), incatalogdelete(3), incataloggds(3), MBK_CATAL_NAME(1), MBK_CATA_LIB(1), MBK_WORK_LIB(1).

See the file man1/alc_bug_report.1.

October 1, 1997 ASIM/LIP6

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.