ep_waitfor_nodeid(3)

NAME

ep_waitfor_nodeid - block until Elan network state is initialised.

SYNOPSIS

#include <elan3/epcomms.h>
     
int ep_waitfor_nodeid(
EP_SYS *sys);

PARAMETERS

sys

A pointer to the Elan Kernel Comms subsystem private state. An EP_SYS pointer can be obtained by calling ep_system(3).

DESCRIPTION

Before Elan Kernel Comms commences, the Elan network must have been probed and the node ID successfully determined. ep_waitfor_nodeid() returns once the node ID has either been successfully determined or failure to determine network position has occurred.

RETURN VALUES

On success, the node ID is returned as an integer quantity. On failure, the following values can be returned:

ELAN_INVALID_NODE

The network position has not been successfully determined. Elan Kernel Comms cannot continue.

SEE ALSO

ep_system(3).


© Quadrics Ltd. 1998-2003