home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / libw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.0 KB  |  39 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10.  
  11. #ident    "@(#)/usr/include/libw.h.sl 1.1 4.0 12/08/90 27178 AT&T-USL"
  12.  
  13. #ifndef _LIBW_H
  14. #define _LIBW_H
  15. #include    <stdlib.h>
  16.  
  17. #ifndef _EUCWIDTH_T
  18. #define _EUCWIDTH_T
  19. typedef struct {
  20.     short int _eucw1, _eucw2, _eucw3;    /*    EUC width    */
  21.     short int _scrw1, _scrw2, _scrw3;    /*    screen width    */
  22.     short int _pcw;        /*    WIDE_CHAR width    */
  23.     char _multibyte;    /*    1=multi-byte, 0=single-byte    */
  24. } eucwidth_t;
  25. #endif
  26.  
  27. #ifdef __STDC__
  28. void getwidth(eucwidth_t *);
  29. int mbftowc(char *, wchar_t *, int (*)(), int *);
  30. int scrwidth(wchar_t);
  31. int wisprint(wchar_t);
  32. #else
  33. void getwidth();
  34. int mbftowc();
  35. int scrwidth();
  36. int wisprint();
  37. #endif /* __STDC__ */
  38. #endif /* _LIBW_H */
  39.