*
* Usage: getcap -h give all info's
*
- *
****************************************************************/
/*
* Include needed headers
#include <stdlib.h> /* C standard library */
#include <unistd.h> /* unix standard library */
#include <stdio.h> /* standard I/O library */
-#include <string.h> /* string functions */
-#include <sys/types.h>
-#include <sys/capability.h>
+#include <string.h> /* C strings library */
+#include <sys/types.h> /* primitive system data types */
+#include <sys/capability.h> /* need package libcap-dev */
/* Help printing routine */
void usage(void);
printf("Capability: %s\n", string);
cap_free(capab);
+ cap_free(string);
return 0;
}
/*