Skip to content

silgy_message_lang

Jurek Muszyński edited this page Apr 9, 2019 · 1 revision

char *silgy_message_lang(int ci, int code)

Description

Returns error message matching given error code. It tries to get the message matching user agent's primary language. If it's not available, it returns the first message on the list, regardless of the language.

Returns

Pointer to a NULL-terminated message string.

Clone this wiki locally