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