Skip to main content

id

Discworld driver help

id

Name

id - function called by present() in order to identify an object

Synopsis

int id( string an_id );

Description

The present(3) efunction calls id() to determine if a given object is named by a given string. id() should return 1 if the object wishes to be known by the name in the string anId; it should return 0 otherwise.

See also

present(3)