Guardian C Library Calls Reference Manual
Reference to Library Calls
Guardian TNS C Library Calls Reference Manual—128833 3-81
get_startup_msg (supplementary)
Examples
1. The C RUN command can have the form
C/ IN in_file_name, OUT out_file_name/ c_object_file; pragma,
pragma
The startup message reflecting this command has the following components:
2. In this example, the get_startup_msg function retrieves the startup message and puts
it in the structure my_startup_message.
#include <stdlibh>
short msg_length;
short status;
startup_msg_type my_startup_msg;
/* ... */
status = get_startup_msg(&my_startup_msg, &msg_length);
if(status != 0) printf("Startup message not found.");
msg_code -1
defaults user’s default volume and subvolume
infile in_file_name
outfile out_file_name
char param[] c_object_file, pragma, pragma