"Fossies" - the Fresh Open Source Software Archive
Member "fdupes-2.1.2/mbstowcs_escape_invalid.h" (12 Aug 2020, 1067 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 "mbstowcs_escape_invalid.h" see the Fossies "Dox" file reference
1 /* Copyright (c) 2019 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 MBSTOWCS_ESCAPE_INVALID_H
20 #define MBSTOWCS_ESCAPE_INVALID_H
22 #include <wchar.h>
24 size_t mbstowcs_escape_invalid(wchar_t *dest, const char *src, size_t n);