[an error occurred while processing this directive] Documentation for cluster_getnodebyname() [an error occurred while processing this directive] [an error occurred while processing this directive] CI Project   Overview   License   Download   CVS   Contributed Code   Mailing Lists   Goals   Project List   Features   CLMS Features   ICS Features   Current Status   Kernel Hooks   Limitations / Enhancements     CI Documentation   Kernel Patch   Cluster Tools     [an error occurred while processing this directive] Printer-friendly version
Manpage of LIBCLUSTER

LIBCLUSTER

Section: OpenSSI Prog Manual (3ssi)
Updated: 12 December 2003

 

NAME

cluster_getnodebyname - Returns node number given a node name  

SYNOPSIS

#include <sys/cluster.h>

clusternode_t cluster_getnodebyname( const char *nodename )

cc [flag ...] file -lcluster [library ...]
 

DESCRIPTION

cluster_getnodebyname returns the node number for a given nodename. It searches through /cluster/node<nodenum>/etc/nodename for nodename.

 

RETURN VALUE

Returns 0 on success, and -1 on error (errno is set appropriately).  

ERRORS

ENOMEM
Insufficient memory(Memory allocation failed).
EINVAL
Invalid nodename

 

SEE ALSO

clusternode_num(3ssi)


This document was created by man2html, using the manual pages.
Time: 21:59:39 GMT, May 19, 2004
SourceForge Logo

Opensource.hp.com

HP Linux solutions

The Linux Clustering Information Center

This file last updated on Wednesday, 19-May-2004 22:53:39 UTC [an error occurred while processing this directive]