LOC_DATABASE_GET_COU(3)

🌸 NAME 🌸

Okay bestie, welcome to the loc_database_get_country(3) manual page β€” it’s giving 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. That’s the whole vibe, fr fr 🫢


✨ RETURN VALUE ✨

  • On success, zero is returned. βœ…
  • Otherwise, non-zero is returned and errno is set accordingly. 🚨

🌈 SEE ALSO 🌈

  • libloc(3) β€” go peek, bestie πŸ‘€πŸ’…

πŸ‘‘ AUTHORS πŸ‘‘

  • Michael Tremer

Cute little footer sign-off: the page footer is just LOC_DATABASE_GET_COU(3) β€” no source/version or date was listed there, so that’s all we’ve got πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from