SCR/AL1 - TOME III. Les librairies utilitaires
Syntax
char *SCR_get_err_txt(fd_msg, val)
FILE *fd_msg;
int val;
Description
Retourne un message sur base d'un numéro de message, du numéro de langue courante définie par la variable SCR_ERR_LANG. Ce message est lu dans le fichier ouvert fd_msg. La fonction est équivalente à
SCR_get_err_txt_lang(fd_msg, val, SCR_ERR_LANG);
Valeur retournée
Un pointeur vers un buffer statique contenant le dernier message lu. 2 buffers sont utilisés en alternance de façon à permettre des expressions du type :
printf("Error : %s %s\n", SCR_get_err_txt(fd, 124),
SCR_get_err_txt(fd, 12));
Voir également
SCR_search_file(), SCR_err_txt(), SCR_err_txt_lang(), SCR_get_err_txt_lang(), SCR_get_err_txt_t(), SCR_err_txt_t_lang(), SCR_get_err_txt_t_lang(), SCR_err_txt_t().
char *SCR_err_txt(val)
char *SCR_err_txt_lang(val, lang)
char *SCR_err_txt_t(keyw)
char *SCR_err_txt_t_lang(keyw, lang)
char *SCR_get_err_txt(fd_msg, val)
char *SCR_get_err_txt_lang(fd_msg, val, lang)
char *SCR_get_err_txt_t(fd_msg, keyw)
char *SCR_get_err_txt_t_lang(fd_msg, ckeyw, curlang)
Copyright © 1998-2015 Jean-Marc Paul and Bernard PAUL - Envoyez vos remarques ou commentaires à bernard@xon.be