Guardian C Library Calls Reference Manual

Reference to Library Calls
Guardian TNS C Library Calls Reference Manual—128833 3-79
get_startup_msg (supplementary)
get_startup_msg (supplementary)
The get_startup_msg function retrieves the process startup message.
startup-msg
points to a structure of type startup_msg_type that is declared in the header
<stdlibh>. See ā€œUsage Guidelinesā€ on page 3-80 for more details regarding this
type. The get_startup_msg function copies the startup message into the structure
pointed to by this startup_msg parameter.
actual_len
points to the short integer where get_startup_msg copies the actual length of the
startup message.
Return Value
is 0 if the startup message is found, and -1 if the startup message is not found.
#include <stdlibh>
short get_startup_msg(startup_msg_type *startup_msg,
short *actual_len);