compat.h - iomenu - interactive terminal-based selection menu
(HTM) git clone git://bitreich.org/iomenu git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/iomenu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
compat.h (442B)
---
1 #ifndef COMPAT_H
2 #define COMPAT_H
3
4 #include <stddef.h>
5 #include <wchar.h>
6
7 #define wcwidth(c) mk_wcwidth_cjk(c)
8
9 char *strcasestr(const char *str1, const char *str2);
10 size_t strlcpy(char *buf, char const *str, size_t sz);
11 char *strsep(char **str_p, char const *sep);
12 int mk_wcwidth(wchar_t ucs);
13 int mk_wcswidth(const wchar_t *pwcs, size_t n);
14 int mk_wcwidth_cjk(wchar_t ucs);
15 int mk_wcswidth_cjk(const wchar_t *pwcs, size_t n);
16
17 #endif