4.4BSD snapshot (revision 8.1)
[unix-history] / usr / src / include / rune.h
CommitLineData
566049a2
KB
1/*-
2 * Copyright (c) 1993 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Paul Borman at Krystal Technologies.
7 *
8 * %sccs.include.redist.c%
9 *
56559b70 10 * @(#)rune.h 8.1 (Berkeley) %G%
566049a2
KB
11 */
12
13#ifndef _RUNE_H_
14#define _RUNE_H_
15
16#include <runetype.h>
17
18#define _PATH_LOCALE "/usr/share/locale"
19
20#define _INVALID_RUNE _CurrentRuneLocale->invalid_rune
21
22#define __sgetrune _CurrentRuneLocale->sgetrune
23#define __sputrune _CurrentRuneLocale->sputrune
24
25#define sgetrune(s, n, r) (*__sgetrune)((s), (n), (r))
26#define sputrune(c, s, n, r) (*__sputrune)((c), (s), (n), (r))
27
28__BEGIN_DECLS
29char *mbrune __P((const char *, rune_t));
30char *mbrrune __P((const char *, rune_t));
31char *mbmb __P((const char *, char *));
32int setrunelocale __P((char *));
33void setinvalidrune __P((rune_t));
34__END_DECLS
35
36#endif /*! _RUNE_H_ */