1/* 2** Copyright 2011, Oliver Tappe, zooey@hirschkaefer.de. All rights reserved. 3** Distributed under the terms of the MIT License. 4*/ 5 6#include <wchar_private.h> 7 8 9int 10__wctomb(char* s, wchar_t wc) 11{ 12 static mbstate_t internalMbState; 13 14 return __wcrtomb(s, wc, &internalMbState); 15} 16 17 18B_DEFINE_WEAK_ALIAS(__wctomb, wctomb); 19