restore WINO inode to USTATE to keep accounting right
[unix-history] / usr / src / include / rune.h
CommitLineData
566049a2 1/*-
e31614ce
KB
2 * Copyright (c) 1993
3 * The Regents of the University of California. All rights reserved.
566049a2
KB
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 *
e31614ce 10 * @(#)rune.h 8.1 (Berkeley) %G%
566049a2
KB
11 */
12
13#ifndef _RUNE_H_
14#define _RUNE_H_
15
16#include <runetype.h>
cea75121 17#include <stdio.h>
566049a2
KB
18
19#define _PATH_LOCALE "/usr/share/locale"
20
21#define _INVALID_RUNE _CurrentRuneLocale->invalid_rune
22
23#define __sgetrune _CurrentRuneLocale->sgetrune
24#define __sputrune _CurrentRuneLocale->sputrune
25
26#define sgetrune(s, n, r) (*__sgetrune)((s), (n), (r))
27#define sputrune(c, s, n, r) (*__sputrune)((c), (s), (n), (r))
28
29__BEGIN_DECLS
30char *mbrune __P((const char *, rune_t));
31char *mbrrune __P((const char *, rune_t));
32char *mbmb __P((const char *, char *));
f110e75c
KB
33long fgetrune __P((FILE *));
34int fputrune __P((rune_t, FILE *));
35int fungetrune __P((rune_t, FILE *));
566049a2
KB
36int setrunelocale __P((char *));
37void setinvalidrune __P((rune_t));
38__END_DECLS
39
40#endif /*! _RUNE_H_ */