* include/_mingw.h: Increment version to 2.0.
* Makefile.in: Ditto. Merge in mingwex branch.
This commit is contained in:
21
winsup/mingw/mingwex/mbsinit.c
Normal file
21
winsup/mingw/mingwex/mbsinit.c
Normal file
@@ -0,0 +1,21 @@
|
||||
/* This source code was extracted from the Q8 package created and placed
|
||||
in the PUBLIC DOMAIN by Doug Gwyn <gwyn@arl.mil>
|
||||
last edit: 1999/11/05 gwyn@arl.mil
|
||||
|
||||
Implements subclause 7.24 of ISO/IEC 9899:1999 (E).
|
||||
|
||||
It supports an encoding where all char codes are mapped
|
||||
to the *same* code values within a wchar_t or wint_t,
|
||||
so long as no other wchar_t codes are used by the program.
|
||||
|
||||
*/
|
||||
|
||||
#include <wchar.h>
|
||||
|
||||
int
|
||||
mbsinit(ps)
|
||||
const mbstate_t *ps;
|
||||
{
|
||||
return 1; /* don't have shift states */
|
||||
}
|
||||
|
Reference in New Issue
Block a user