NAME

catpsd_closepsd - close a handle to a Virtual Card

SYNOPSIS

#include <cat/cat.h>

int catpsd_closepsd(cat_psd *handle);

DESCRIPTION

This function closes the handle <handle> to a Virtual Card opened with catpsd_openpsd and frees all memory used.

The function returns 0 if successful, or a negative code on error. Specifically, the function returns CAT_EINVAL if the supplied handle is NULL.

SEE ALSO

catpsd