equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Test code for bsearch, qsort etc. These are all functions which work directly |
|
16 * without using the MSystemInterface - as such none of them use errno to indicate |
|
17 * errors. |
|
18 * |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 #include <stdlib.h> |
|
25 #include <stdio.h> |
|
26 |
|
27 int main(int argc, char *argv[]) |
|
28 { |
|
29 int i; |
|
30 |
|
31 printf(" argc=%d\r\n", argc); |
|
32 for (i=0; i<argc; i++) |
|
33 { |
|
34 printf(" argv[%d]=\"%s\" length %d\r\n", i, argv[i], strlen(argv[i])); |
|
35 } |
|
36 return 0; |
|
37 } |