Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Contains the source for getws and putws
28 EXPORT_C wchar_t* getws(wchar_t* str)
38 res = fgetws(str, BUFSIZ, stdin);
42 if( (str[size-1] == L'\n') && (res[size-1] == L'\n') )
51 EXPORT_C int putws(wchar_t* str)
58 return (fputws(str, stdout));