Set the logging destination and verbosity
Synopsis:
#include <fs_crypto_api.h>
#include <sys/fs_crypto.h>
void fs_crypto_set_logging( FILE *logfile,
const int verbosity );
Arguments:
- logfile
- The file (e.g., stdout) that you want to send log messages to, or
NULL if you want to disable logging.
- verbosity
- The level of verbosity for the logs, or -1 to disable logging.
Library:
libfscrypto
Use the -l fscrypto option to
qcc
to link against this library.
Description:
The fs_crypto_set_logging() function sets the logging destination and verbosity.
By default, logging is disabled.
Note:
In order to use filesystem encryption, download the Encrypted Filesystem package from the QNX Software Center.
Classification:
QNX Neutrino
Safety: |
|
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |