Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > C

cr_set_node(3)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

cr_set_node — set node number

SYNOPSIS

#include <libcrash.h>

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

DESCRIPTION

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

Returns zero for success. Other possible return values are described in libcrash(5).

EXAMPLES

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

cr_set_node() was developed by HP.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.