logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Description

egd_close()  frees  all resources associated to the device referenced by dev and closes it. It stops also
       implicitely any running acquisition.

       After a successful call to egd_close(), the reference dev cannot be used any longer.

Errors

egd_close() will fail if:

       EINVALdev is NULL.

EPFL                                                  2010                                          EGD_CLOSE(3)

Name

       egd_close - close a device

Return Value

       The function returns 0 in case of succes. Otherwise, -1 is returned and errno is set accordingly.

Synopsis

#include<eegdev.h>integd_close(structeegdev*dev);

See Also