iscConfigCloseCursor() disposes an opened cursor.
Syntax
isy_INT32 iscConfigCloseCursor( HISCCONF hConf, HISCCSR hCursor);
Function arguments
Table 127 lists the valid arguments used with the
iscConfigCloseCursor() function.
Table 127. iscConfigCloseCursor() arguments
Data type | Argument | Use | Description |
---|---|---|---|
HISCCONF | hConf | input | Config connection |
HISCCSR | hCursor | input | Cursor for iterating subscription sets |
Usage
When a cursor is opened with iscConfigOpenCursor() but the cursor is not needed, close this cursor with iscConfigCloseCursor(). Otherwise, the open cursor might cause memory leaks or other configuration consistency problems. Do not attempt to use the closed handle after the cursor closes since this can cause unexpected errors.
Return codes
Restrictions
None.
Related concepts
Related tasks
Related reference