Developer's Guide to Oracle Solaris Security

KMF Headers and Libraries

To give the program access to the KMF function prototypes and type definitions, include the kmfapi.h file.

#include <stdio.h>
#include <kmfapi.h>

Be sure to include the KMF library in the link step.


$ cc -o kmftest kmftest.c -lkmf