"Fossies" - the Fresh Open Source Software Archive
Member "fdupes-2.1.2/wcs.h" (12 Aug 2020, 1195 Bytes) of package /linux/privat/fdupes-2.1.2.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard
) with prefixed line numbers and code folding
Alternatively you can here view
the uninterpreted source code file.
For more information about "wcs.h" see the Fossies "Dox" file reference
1 /* Copyright (c) 2018 Adrian Lopez
3 This software is provided 'as-is', without any express or implied
4 warranty. In no event will the authors be held liable for any damages
5 arising from the use of this software.
7 Permission is granted to anyone to use this software for any purpose,
8 including commercial applications, and to alter it and redistribute it
9 freely, subject to the following restrictions:
11 1. The origin of this software must not be misrepresented; you must not
12 claim that you wrote the original software. If you use this software
13 in a product, an acknowledgment in the product documentation would be
14 appreciated but is not required.
15 2. Altered source versions must be plainly marked as such, and must not be
16 misrepresented as being the original software.
17 3. This notice may not be removed or altered from any source distribution. */
19 #ifndef WCS_H
20 #define WCS_H
22 #include <wchar.h>
24 int wcsmbcscmp(wchar_t *s1, char *s2);
25 int wcsinmbcs(char *haystack, wchar_t *needle);
26 int wcsbeginmbcs(char *haystack, wchar_t *needle);
27 int wcsendsmbcs(char *haystack, wchar_t *needle);
28 wchar_t *wcsrstr(wchar_t *haystack, wchar_t *needle);