#include int __fastcall__ code_page (int cp) { ria_attr_set (cp, RIA_ATTR_CODE_PAGE); return ria_attr_get (RIA_ATTR_CODE_PAGE); }