gtpc1m79Transmission Control Protocol/Internet Protocol

claw_end -- Terminate All CLAW Activity

ISO-C only

The claw_end function is not available in the TARGET(TPF) C library.

The claw_end function ends all CLAW activity and returns all CLAW-related structures.

Format

#include  <claw.h>
int       claw_end(void);

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_end function. See CLAW Return Codes for a complete list of the return conditions and their definitions.

RC_CLAW_INVALID_FUNCTION

RC_CLAW_NOT_INITED

Programming Considerations

After the claw_end function is called, a claw_initialization request must be issued before any CLAW functions can be used.

Examples

The following example issues the claw_end function to end all CLAW activity.

     #include  <claw.h>
 
     int       claw_rc;
     claw_rc = claw_end();
                    /*normal processing path */

·
·
·

Related Information