Next: , Previous: debug_init, Up: Debug


9.2 dbflag

test for a debug flag

Synopsis

     #include <suplib/debug.h>
     
     
     
int dbflag(const char *dbf);

Parameters

const char *dbf
the debug flag to test

Description

dbflag tests if the passed string was in the list of debug flags previously parsed by debug_init.

Returns

It returns zero if the flag was not specified, non-zero if it was.

Author

Diab Jerius