blob: a89c5ec04ce800ee697f27ba23b823e8b907d184 [file] [log] [blame]
.\"Copyright 2008-2010 IBM Corp.
.TH SCI_Terminate 3 "Dec 4, 2009" "1.0.0" "SCI"
.SH NAME
\fBSCI_Terminate\fP \- Terminates the SCI execution environment
.SH SYNTAX
.ft R
.SH C Syntax
.nf
#include <sci.h>
int SCI_Terminate()
.SH INPUT PARAMETERS
.ft R
.TP 1i
none
.SH DESCRIPTION
.ft R
Make sure this routine is the last SCI call. Any SCI calls made after
SCI_Terminate raise an error. You must be sure that all pending
communications have completed before calls SCI_Terminate.
.sp
Although SCI_Terminate terminates SCI processing, it does not terminate
the front end or back end. It is possible to continue with non-SCI processing
after calling SCI_Terminate, but no other SCI calls can be made unless
SCI_Initialize be called again.
.sp
For more information, please refer to SCI's online documents.
.SH EXAMPLE
.ft R
.nf
{
/* declare variables */
SCI_Initialize(&info);
...
SCI_Terminate();
}
.fi
.SH ERRORS
.ft R
All SCI routines return an error value.
.sp
.TP 1i
SCI_ERR_UNINTIALIZED
Uninitialized SCI execution environment
.TP 1i
SCI_ERR_NO_MEM
Out of memory
.SH SEE ALSO
.ft R
.nf
\fBSCI_Initialize\fP(3)