*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> cr_set_node (3)              


 cr_set_node(3)                                               cr_set_node(3)

 NAME    [Toc]    [Back]
      cr_set_node - set node number

 SYNOPSIS    [Toc]    [Back]
      #include <libcrash.h>

      int cr_set_node(CRASH *crash_cb, int node_num, int *old_node_num);

 DESCRIPTION    [Toc]    [Back]
      The cr_set_node() function expects the physical node number passed in
      node_num.  The node number will be used by cr_read() and cr_isaddr()
      to access the node private memory contained on a particular node.
      This function is only valid for ccnumadir (version 4) dumps.  If the
      old_node_num argument is non-NULL, the address referenced by
      old_node_num will be set to the previous node number.  If old_node_num
      is NULL, the previous node number will not be returned.

 RETURN VALUE    [Toc]    [Back]
      Returns zero for success. Other possible return values are described
      in libcrash(5).

 EXAMPLES    [Toc]    [Back]
      Assuming a process opened a crash dump, the following call to
      cr_set_node() sets the physical node number to zero.

           #include <libcrash.h>

           CRASH *cr_cb;
           int   old_node;
           int   retval;

           retval = cr_set_node(cr_cb, 0, &old_node);

 AUTHOR    [Toc]    [Back]
      cr_set_node() was developed by HP.

 SEE ALSO    [Toc]    [Back]
      cr_open(3), libcrash(5).

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
getnameinfo Tru64 Get a node name and service name for an address and port number
change HP-UX Alters the epoch number and time on the local node
ipnodes Tru64 The IP node name database
nghook FreeBSD connect to a netgraph(4) node
ng_atm FreeBSD netgraph ATM node type
ng_uni FreeBSD netgraph UNI node type
vlGetFrontierMSC IRIX get the frontier MSC associated with a particular VL_MEM node
vlgetnode IRIX VL node handling routines
create HP-UX Creates the DCE DTS entity on the specified node
atping IRIX ping an AppleTalk node
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service