On success TRUE is returned.
On failure FALSE is returned. Use pbms_errno() and pbms_error() to retrieve error details.
const char *db; /* Get the database name associated with the connection. */ pbms_get_option(pbms, PBMS_OPTION_DATABASE, &db); printf("Database for this connection is \"%s\"\n", db);