Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

ft_xcclose - Terminate command execution

&pagelevel(3)&pagelevel

ft_xcclose() terminates the read-out of the data output by the command that was executed in the remote system using ft_xcopen().
This function must be called as the final operation following a successful call of ft_xcopen(). ft_xcclose() releases resources that are no longer required. You cannot subsequently reference this ID again.

Syntax

#include <ftapi.h>

int ft_xcclose(void *id, /* input */ 

               struct ft_err *errorinfo);

Parameters

id

ID of the request (return value from ft_xcopen)

errorinfo

Area in which detailed information is stored if an error is encountered (see section “ft_err” (Error handling)).
The specification of this parameter is optional. If you do not require any more precise error information then you can specify the value NULL for errorinfo.

Return value

0

No error.

-1

Error. The error type is stored in errorinfo.