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(_catopen,catopen); 10 1.1 jtc #else 11 1.1 jtc 12 1.1 jtc #include <nl_types.h> 13 1.1 jtc 14 1.2 jtc extern nl_catd _catopen __P((char *, int)); 15 1.1 jtc 16 1.1 jtc nl_catd 17 1.1 jtc catopen(name, oflag) 18 1.1 jtc char *name; 19 1.1 jtc int oflag; 20 1.1 jtc { 21 1.2 jtc return _catopen(name, oflag); 22 1.1 jtc } 23 1.1 jtc 24 1.1 jtc #endif 25