sc_get_cache_dir

Langue: en

Autres versions - même langue

Version: 02/26/2009 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

sc_get_cache_dir - Get the OpenSC cache directory

SYNOPSIS

 #include <opensc.h>
 
 int sc_get_cache_dir(struct sc_context *ctx, char *buf, size_t bufsize);
                 
 

DESCRIPTION

This function stores the OpenSC cache directory for the current user in the buffer pointed to by buf, which is bufsize bytes long.

RETURN VALUE

Returns 0 if successful, or a negative value in case of error.