DEVICE DRIVERS
ecrClose
110 M
X
800 SERIES PROGRAMMERS GUIDE
ecrClose
This function closes the ECR port. Returns 0 if successful. Returns a negative
errno error code if an error occurred.
Prototype
short result = ecrClose();
NOTE
The port must be closed in order for it to be returned to a known good state. If the
process is killed that opened the port, it is the responsibility of that process to trap
on the necessary signals to perform all desired cleanup prior to calling
ecrClose().