Function
Performs termination processing of driver. This function supports multi-process.
Format
Ret = AioExit ( Id )
Parameters
Id [ C, C++ : short ] [ Python : ctypes.c_short ]
Specifies the ID retrieved from AioInit.
Return values
Ret [ C, C++ : long ] [ Python : ctypes.c_long ]
Return values |
Content |
0 |
Normality completion |
10001 |
Invalid Id was specified |
10002 |
AIO driver can't be called |
Remarks
This function is performed as application terminates.
If an application terminates without performing this function, the sequent accesses to the device may fail.
If the device is in operation, the operation stops.
Releases all memory and threads used by the driver.
After this function is performed, device cannot be accessed until AioInit function is performed.
Example
Performs termination processing of driver.
C, C++ |
long Ret; |
Python |
Ret = ctypes.c_long() |
See also