1SC_GET_CACHE_DIR(3) OpenSC API reference SC_GET_CACHE_DIR(3)
23
4
NAME
6sc_get_cache_dir - Get the OpenSC cache directory
7
SYNOPSIS
9#include <opensc.h>
1011
int sc_get_cache_dir(struct sc_context *ctx, char *buf, size_t bufsize);
1213
14
DESCRIPTION
16This function stores the OpenSC cache directory for the current user in
17the buffer pointed to by buf, which is bufsize bytes long.
18
RETURN VALUE
20Returns 0 if successful, or a negative value in case of error.
2122
23
24
opensc 02/16/2010 SC_GET_CACHE_DIR(3)