locale_event_get_country()

Get the current country from a LOCALE_INFO event.

Synopsis:

#include <bps/locale.h>
 
BPS_API const char* locale_event_get_country(bps_event_t *event)

Arguments:

event
The LOCALE_INFO event to extract the current country from.

Library:

libbps

Description:

The locale_event_get_country() function extracts the current country (for example, US, GB, FR, and so on) from the specified LOCALE_INFO event.

Returns:

The current country.