Determine if the underlying filesystem supports encryption
#include <fs_crypto_api.h>
#include <sys/fs_crypto.h>
int fs_crypto_check( const char *path,
int *preply );
The fs_crypto_check() function determines if the underlying filesystem supports encryption.
This function sets the variable pointed to by preply to one of the following values:
This function can also return any of the errors indicated by devctl() or open().
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |