#include #include int main(int argc, char *argv[]) { if(capng_have_permitted_capabilities() > -1) printf("ok"); }