libutil: add O_NOCTTY back to old pty open code
[minix.git] / lib / libc / nls / _catclose.c
blob97398c732c40e575b0b46a8f6c4d2e2808c08c34
1 /* $NetBSD: _catclose.c,v 1.7 2005/09/13 01:44:09 christos Exp $ */
3 /*
4 * Written by J.T. Conklin, 10/05/94
5 * Public domain.
6 */
8 #include <sys/cdefs.h>
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: _catclose.c,v 1.7 2005/09/13 01:44:09 christos Exp $");
11 #endif /* LIBC_SCCS and not lint */
13 #if defined(__indr_reference)
14 __indr_reference(_catclose, catclose)
15 #else
17 #include <nl_types.h>
18 int _catclose(nl_catd);
20 int
21 catclose(nl_catd catd)
23 return _catclose(catd);
26 #endif