SIMPLE SOLUTIONS

GETLOMODEL(3) - Linux man page online | Library functions

Retrieve a model from a lofig_list.

Chapter
October 1, 1997
GETLOMODEL(3) MBK LOGICAL FUNCTIONS GETLOMODEL(3)

NAME

getlomodel - retrieve a model from a lofig_list

SYNOPSYS

#include "mut.h" lofig_list ∗getlomodel(model, name) lofig_list ∗model; char ∗name;

PARAMETERS

model Pointer to a lofig list name String indicating the model to be looked for

DESCRIPTION

getlomodel seeks a lofig element in the list pointed to by model.

RETURN VALUE

getlomodel returns a pointer to the lofig that match the name. If no lofig has the given name, then NULL is returned.

EXAMPLE

#include "mlo.h" locon_list *get_model_cons(model, name) lofig_list ∗model; char ∗name; { lofig_list ∗p = getlomodel(model, name); return p ? p->LOCON : NULL; }

SEE ALSO

mbk(1), lofig(3), addlomodel(3), freelomodel(3), dellomodel(3).
ASIM/LIP6 October 1, 1997 GETLOMODEL(3)
This manual Reference Other manuals
getlomodel(3) referred by addlomodel(3) | freelomodel(3)
refer to addlomodel(3) | freelomodel(3) | lofig(3)
Download raw manual
Main page MBK LOGICAL FUNCTIONS (+47) ASIM/LIP6 (+480) № 3 (+68044)
Go top