Update contrib.
2 * Copyright (c) 1997-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.
15 * The classic "Hello World" program made wide
26 @SYMTestCaseID SYSLIB-STDLIB-CT-1095
27 @SYMTestCaseDesc Tests for printing to standard output stream
29 @SYMTestActions Tests for writing a string to standard output stream
30 @SYMTestExpectedResults Test must not fail
33 int wmain (int argc, wchar_t *argv[])
37 printf("Hello World\n");
38 for (x=1; x < argc; x++)
40 wcstombs(buffer, argv[x], sizeof(buffer));
41 printf("arg %d is %s\n", x, buffer);