cross-plat-dev-utils/get_wordsize.c
changeset 10 b2a53d442fd6
child 29 86492ef8d086
equal deleted inserted replaced
9:67f8bb81b054 10:b2a53d442fd6
       
     1 /*
       
     2 Copyright (c) 2010 Symbian Foundation Ltd
       
     3 This component and the accompanying materials are made available
       
     4 under the terms of the License "Eclipse Public License v1.0"
       
     5 which accompanies this distribution, and is available
       
     6 at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 
       
     8 Initial Contributors:
       
     9 Mike Kinghan, mikek@symbian.org for Symbian Foundation Ltd - initial contribution.
       
    10 
       
    11 Program to return the wordsize in bits of the host machine
       
    12 */
       
    13 
       
    14 #include <stdio.h>
       
    15 #include <stdlib.h>
       
    16 
       
    17 int main(void)
       
    18 {
       
    19 	printf("%lu\n",sizeof(unsigned long));
       
    20 	exit(0);
       
    21 }
       
    22