rmgr Driver support Functions


rmgr_GetType


Syntax:
#include <rmgr_lib.h>

rmgr_GetType (int fd, char *name, int len)


Description:

Gets the type field information from a ressource entry <name> is the ressource name and <len> its length The type can be one of RCS_STRING a string RCS_INT an integer RCS_IPTR a pointer to an integer If the ressource cannot be found in the database a -1 is returned and errno is set to -ENOTFOUND


Compilation Example:

cc -o your_program -lrmgr your_program.c

Sun Dec 13 14:32:19 1998