![Tews Technologies TDRV006-SW-82 User Manual Download Page 10](http://html1.mh-extra.com/html/tews-technologies/tdrv006-sw-82/tdrv006-sw-82_user-manual_1093641010.webp)
TDRV006-SW-82 - Linux Device Driver
Page 10 of 31
3.1.2 tdrv006Close
NAME
tdrv006Close – close a device.
SYNOPSIS
TDRV006_STATUS tdrv006Close
(
TDRV006_HANDLE
hdl
)
DESCRIPTION
This function closes previously opened devices.
PARAMETERS
hdl
This value specifies the device handle to the hardware module retrieved by a call to the
corresponding open-function.
EXAMPLE
#include <tdrv006api.h>
TDRV006_HANDLE
hdl;
TDRV006_STATUS
result;
/*
** close the device
*/
result = tdrv006Close(hdl);
if (result != TDRV006_OK)
{
/* handle close error */
}