/usr/include/wine/msvcrt/mbstring.h is in libwine-dev 3.0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | /*
* Multibyte string definitions
*
* Copyright 2001 Francois Gouget.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_MBSTRING_H
#define __WINE_MBSTRING_H
#include <crtdefs.h>
#include <pshpack8.h>
#ifndef _NLSCMP_DEFINED
#define _NLSCMPERROR ((unsigned int)0x7fffffff)
#define _NLSCMP_DEFINED
#endif
#ifdef __cplusplus
extern "C" {
#endif
int __cdecl _ismbcalnum(unsigned int);
int __cdecl _ismbcalpha(unsigned int);
int __cdecl _ismbcdigit(unsigned int);
int __cdecl _ismbcgraph(unsigned int);
int __cdecl _ismbchira(unsigned int);
int __cdecl _ismbckata(unsigned int);
int __cdecl _ismbcl0(unsigned int);
int __cdecl _ismbcl1(unsigned int);
int __cdecl _ismbcl2(unsigned int);
int __cdecl _ismbclegal(unsigned int);
int __cdecl _ismbclower(unsigned int);
int __cdecl _ismbcprint(unsigned int);
int __cdecl _ismbcpunct(unsigned int);
int __cdecl _ismbcspace(unsigned int);
int __cdecl _ismbcsymbol(unsigned int);
int __cdecl _ismbcupper(unsigned int);
unsigned int __cdecl _mbbtombc(unsigned int);
int __cdecl _mbbtype(unsigned char,int);
#define _mbccmp(_cpc1,_cpc2) _mbsncmp((_cpc1),(_cpc2),1)
void __cdecl _mbccpy(unsigned char*,const unsigned char*);
unsigned int __cdecl _mbcjistojms(unsigned int);
unsigned int __cdecl _mbcjmstojis(unsigned int);
size_t __cdecl _mbclen(const unsigned char*);
unsigned int __cdecl _mbctohira(unsigned int);
unsigned int __cdecl _mbctokata(unsigned int);
unsigned int __cdecl _mbctolower(unsigned int);
unsigned int __cdecl _mbctombb(unsigned int);
unsigned int __cdecl _mbctoupper(unsigned int);
int __cdecl _mbsbtype(const unsigned char*,size_t);
unsigned char* __cdecl _mbscat(unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbschr(const unsigned char*,unsigned int);
int __cdecl _mbscmp(const unsigned char*,const unsigned char*);
int __cdecl _mbscoll(const unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbscpy(unsigned char*,const unsigned char*);
size_t __cdecl _mbscspn(const unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbsdec(const unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbsdup(const unsigned char*);
int __cdecl _mbsicmp(const unsigned char*,const unsigned char*);
int __cdecl _mbsicoll(const unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbsinc(const unsigned char*);
size_t __cdecl _mbslen(const unsigned char*);
unsigned char* __cdecl _mbslwr(unsigned char*);
unsigned char* __cdecl _mbsnbcat(unsigned char*,const unsigned char*,size_t);
errno_t __cdecl _mbsnbcat_s(unsigned char*,size_t,const unsigned char*,size_t);
int __cdecl _mbsnbcmp(const unsigned char*,const unsigned char*,size_t);
int __cdecl _mbsnbcoll(const unsigned char*,const unsigned char*,size_t);
size_t __cdecl _mbsnbcnt(const unsigned char*,size_t);
unsigned char* __cdecl _mbsnbcpy(unsigned char*,const unsigned char*,size_t);
int __cdecl _mbsnbicmp(const unsigned char*,const unsigned char*,size_t);
int __cdecl _mbsnbicoll(const unsigned char*,const unsigned char*,size_t);
unsigned char* __cdecl _mbsnbset(unsigned char*,unsigned int,size_t);
unsigned char* __cdecl _mbsncat(unsigned char*,const unsigned char*, size_t);
size_t __cdecl _mbsnccnt(const unsigned char*,size_t);
int __cdecl _mbsncmp(const unsigned char*,const unsigned char*,size_t);
int __cdecl _mbsncoll(const unsigned char*,const unsigned char*,size_t);
unsigned char* __cdecl _mbsncpy(unsigned char*,const unsigned char*,size_t);
unsigned int __cdecl _mbsnextc (const unsigned char*);
int __cdecl _mbsnicmp(const unsigned char*,const unsigned char*,size_t);
int __cdecl _mbsnicoll(const unsigned char*,const unsigned char*,size_t);
unsigned char* __cdecl _mbsninc(const unsigned char*,size_t);
unsigned char* __cdecl _mbsnset(unsigned char*,unsigned int,size_t);
unsigned char* __cdecl _mbspbrk(const unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbsrchr(const unsigned char*,unsigned int);
unsigned char* __cdecl _mbsrev(unsigned char*);
unsigned char* __cdecl _mbsset(unsigned char*,unsigned int);
size_t __cdecl _mbsspn(const unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbsspnp(const unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbsstr(const unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbstok(unsigned char*,const unsigned char*);
unsigned char* __cdecl _mbstok_l(unsigned char*,const unsigned char*,_locale_t);
unsigned char* __cdecl _mbsupr(unsigned char*);
#ifndef _MBLEADTRAIL_DEFINED
#define _MBLEADTRAIL_DEFINED
int __cdecl _ismbblead(unsigned int);
int __cdecl _ismbbtrail(unsigned int);
int __cdecl _ismbslead(const unsigned char*,const unsigned char*);
int __cdecl _ismbstrail(const unsigned char*,const unsigned char*);
#endif /* _MBLEADTRAIL_DEFINED */
#ifdef __cplusplus
}
#endif
#include <poppack.h>
#endif /* __WINE_MBSTRING_H */
|