loc_database_get_country - Man Page

Fetch country information from the database

Synopsis

#include <libloc/database.h>

int loc_database_get_country(struct loc_database* db, struct loc_country** country, const char* code);

Description

This function fetches information about the country with the matching code.

Return Value

On success, zero is returned. Otherwise non-zero is being returned and errno is set accordingly.

See Also

libloc(3)

Authors

Michael Tremer

Referenced By

libloc(3).