gtpc1m7a | Transmission Control Protocol/Internet Protocol |
ISO-C only |
---|
The claw_initialization function is not available in the TARGET(TPF) C library. |
The claw_initialization function prepares the program for CLAW activity.
Format
#include <claw.h> int claw_initialization(const char hostname[8]);
Normal Return
Return code 0 indicates that the function was successful.
Error Return
Following is a list of return codes that can be returned to the program that calls the claw_initialization function. See CLAW Return Codes for a complete list of the return codes and their definitions.
RC_CLAW_INVALID_FUNCTION
RC_CLAW_INITED_ALREADY
Programming Considerations
Examples
The following example issues the claw_initialization function to prepare for CLAW activity.
#include <claw.h> int claw_rc; char hostsys[8]= "TCPIP ";
·
·
·
claw_rc = claw_initialization(hostsys); /*normal processing path */
·
·
·
Related Information