Home | History | Annotate | Line # | Download | only in nls
catgets.c revision 1.4
      1  1.1  jtc /*
      2  1.1  jtc  * Written by J.T. Conklin, 10/05/94
      3  1.1  jtc  * Public domain.
      4  1.1  jtc  */
      5  1.1  jtc 
      6  1.1  jtc #include <sys/cdefs.h>
      7  1.1  jtc 
      8  1.1  jtc #ifdef __weak_reference
      9  1.2  jtc __weak_reference(_catgets,catgets);
     10  1.1  jtc #else
     11  1.1  jtc 
     12  1.1  jtc #include <nl_types.h>
     13  1.1  jtc 
     14  1.4  cgd extern char * _catgets __P((nl_catd, int, int, __const char *));
     15  1.1  jtc 
     16  1.4  cgd char *
     17  1.1  jtc catgets(catd, set_id, msg_id, s)
     18  1.1  jtc 	nl_catd catd;
     19  1.1  jtc 	int set_id;
     20  1.1  jtc 	int msg_id;
     21  1.3  cgd 	__const char *s;
     22  1.1  jtc {
     23  1.2  jtc 	return _catgets(catd, set_id, msg_id, s);
     24  1.1  jtc }
     25  1.1  jtc 
     26  1.1  jtc #endif
     27