unify_startup(3)

Synopsis

cc [ flag ... ] file ... -lunify -levents -lpvm3 -lgpvm3 -lthread -ll -lsocket -lnsl -lw -lposix4 -lucb [ library ... ]

#include "unify.h"

int unify_startup(int argc, char *argc[])

Description

unify_start initializes resources used by the Unify library using parameters passed on the command line (through argc and argv). unify_start ignores all arguments preceding the "--" argument and interprets all arguments that following the "--" argument as unify arguments.

unify_start must be called before any other Unify functions.

Return Values

On success unify_start returns 0. Otherwise, a value of -1 is returned.

Errors

In the current implementation unify_start will never return -1. If something goes wrong, it will just exit.

See Also

Unify_Close(3), unifyintro(3),


RCS status $Id: unify_startup.html,v 1.2 1998/01/07 22:24:11 dieter Exp $