msg_open() ???å??????ե????????ץ롣
#include "msg.h"
struct msg_cd *
msg_open( name, nlspath, lang )
char *name; /* ?ե?????̾ */
char *nlspath; /* ?ѥ????? */
char *lang; /* ????̾ */
- ???å??????ե?????̾ name???ѥ?????
nlspath???????Ӹ???̾ lang ???顢
?ե??????ѥ????Ȥ?Ω?ơ????Υե????????ɤ߹??ࡣ?ե??????????Ƥϥ???
?????????? struct msg_cat ?ˤĤʤ??????롣
?ե??????ѥ??ε??????ˤϡ?"%N",
"%L"
???????Ǥ????ѥ?̾???Ȥ?Ω?Ƥ?
???ˤ??줾?졢?ѥ??????Ϳ?????줿?ե?????̾
name??????̾ lang ?? ?֤??????????롣
name ????Ƭ?? '/'
?ξ????ϡ????Хѥ??ȸ??ʤ??졢nlspath??Ÿ?????줺
name
?????Τޤޥե??????ѥ??Ȥʤ롣
lang ?? NULL
????ʸ???????Ϥ??줿?????ˤϡ??Ķ??ѿ?
LC_MESSAGES?? LANG
??????Ĵ?٤餽??????????̾???????Ф????롣?Ķ??ѿ?????????????
???ʤ??ä??????ˤϡ?DEF_LANG
???Ѥ??????롣
???å??????????Ƥ?Ÿ???????ƤĤʤ????Ƥ??빽¤?? msg_cat ?ؤΥݥ???
???????֤????롣???å??????ե????뤬?????ץ??Ǥ??ʤ??????ˤϡ????ι?
¤?Τ??֤????롣name ????Ƭ?? '/'?Ǥʤ??????ġ?nlspath?? NULL ??
??ʸ?????ξ????ϡ?NULL???֤????롣"%N", "%L" ??Ÿ???Ǥ??ʤ??????䡢
???????ΰ褬???ݤǤ??ʤ??????⡢NULL ???֤????롣