diff options
author | jkh <jkh@FreeBSD.org> | 1995-03-30 12:47:27 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-03-30 12:47:27 +0000 |
commit | 02ba73f73710bbda1154f765b78642d80c7192b8 (patch) | |
tree | d2d1344d01a2d66e93b729ca5b79d6f18bdee193 /lib/libc/nls/catgets.c | |
parent | 44aecda58df4a771b6d664d9b1ccdcda8c5caad7 (diff) | |
download | FreeBSD-src-02ba73f73710bbda1154f765b78642d80c7192b8.zip FreeBSD-src-02ba73f73710bbda1154f765b78642d80c7192b8.tar.gz |
Add the nls code for XPG3-style message catalogs to libc.
Obtained from: NetBSD
Diffstat (limited to 'lib/libc/nls/catgets.c')
-rw-r--r-- | lib/libc/nls/catgets.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/libc/nls/catgets.c b/lib/libc/nls/catgets.c new file mode 100644 index 0000000..c29cf64 --- /dev/null +++ b/lib/libc/nls/catgets.c @@ -0,0 +1,28 @@ +/* $Id$ */ + +/* + * Written by J.T. Conklin, 10/05/94 + * Public domain. + */ + +#include <sys/cdefs.h> + +#ifdef __indr_reference +__indr_reference(_catgets,catgets); +#else + +#include <nl_types.h> + +extern char * _catgets __P((nl_catd, int, int, char *)); + +char * +catgets(catd, set_id, msg_id, s) + nl_catd catd; + int set_id; + int msg_id; + char *s; +{ + return _catgets(catd, set_id, msg_id, s); +} + +#endif |