| Current File : //usr/include/libw.h |
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#ifndef _LIBW_H
#define _LIBW_H
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _EUCWIDTH_T
#define _EUCWIDTH_T
typedef struct {
short int _eucw1, _eucw2, _eucw3; /* EUC width */
short int _scrw1, _scrw2, _scrw3; /* screen width */
short int _pcw; /* WIDE_CHAR width */
char _multibyte; /* 1=multi-byte, 0=single-byte */
} eucwidth_t;
#endif
#ifdef __STDC__
void getwidth(eucwidth_t *);
#else
void getwidth();
#endif /* __STDC__ */
#ifdef __cplusplus
}
#endif
#endif /* _LIBW_H */