geoip_code2
Функция устарела, старайтесь не использовать!
This native will overflow the buffer by one cell on an unknown ip lookup! Use geoip_code2_ex instead.
- Синтаксис
-
#pragma deprecated Use geoip_code2_ex() instead. native geoip_code2(const ip[], ccode[3]);
Переменная | Описание |
---|---|
ip |
The IP address to lookup. |
result |
The result buffer. |
- Описание
- Lookup the two character country code for a given IP address. Sets the buffer to "error" on an unsuccessful lookup.
- Возвращает
- The result length.