NetBSD/lib/libc/nls/catopen.c
jtc 56fa6d53b4 Public versions of catopen(), catgets(), and catclose().
Implemented with weak references if they are supported, otherwise by
function calls that call the private versions.
1994-10-06 05:44:39 +00:00

25 lines
322 B
C

/*
* Written by J.T. Conklin, 10/05/94
* Public domain.
*/
#include <sys/cdefs.h>
#ifdef __weak_reference
__weak_reference(__catopen,catopen);
#else
#include <nl_types.h>
extern nl_catd __catopen __P((char *, int));
nl_catd
catopen(name, oflag)
char *name;
int oflag;
{
return __catopen(name, oflag);
}
#endif