From b4a08ec9bab3a65a591c843e875497a1b8bc61ea Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 28 Sep 2004 16:03:08 +0000 Subject: [PATCH] Add new function to print node_info data to a buffer: switch_sprintf_node_info. --- doc/html/switchplugins.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/html/switchplugins.html b/doc/html/switchplugins.html index e74cc8f13da..ef14bba32b5 100644 --- a/doc/html/switchplugins.html +++ b/doc/html/switchplugins.html @@ -216,6 +216,19 @@ a node's switch state record.</p> (intput) an existing node switch state record.</p> <p style="margin-left:.2in"><b>Returns</b>: None</p> +<p class="commandline">char * switch_sprintf_node_info (switch_node_info_t switch_node, +char *buf, size_t size);</p> +<p style="margin-left:.2in"><b>Description</b>: Print the contents of a node's switch state +record to a buffer.</p> +<p style="margin-left:.2in"><b>Arguments</b>:<br> +<span class="commandline"> switch_node</span> (input) a +node's switch state record.<br> +<span class="commandline"> buf</span> (input/output) size +of buf in bytes.<br> +<span class="commandline"> size</span> (input) point to +buffer into which the switch state record is to be written.</p> +<p style="margin-left:.2in"><b>Returns</b>: Location of buffer, same as <i>buf</i>.</p> + <p class="commandline">int switch_job_complete (switch_jobinfo_t switch_job, char *nodelist);</p> <p style="margin-left:.2in"><b>Description</b>: Note that the job step associated -- GitLab