OSI/FTAM Programming Guide
NonStop FTAM Programming Examples
HP NonStop OSI/FTAM Programming Guide—528612-001
5-41
Reading a File: C Programming Example
1476
1477 printf ( "ERROR # %d\n", error );
1478
1479 /******************************************************************/
1480 /* Discard the API context information for the association, */
1481 /* and exit the program. */
1482 /******************************************************************/
1483
1484 APS_DISCARD_ ( cepi );
1485 printf ( "Association discarded\n" );
1486 exit (EXIT_SUCCESS);
1487
1488
1489 } /* check_error */