2011-12-04 20:53:41 -05:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <X11/Xmd.h>
|
|
|
|
|
|
|
|
int main(int argc, char **argv) {
|
2012-06-29 11:34:20 -04:00
|
|
|
printf("sizeof(void*)=%d\n",sizeof(void*));
|
2011-12-10 22:45:44 -05:00
|
|
|
printf("sizeof(char)=%d\n",sizeof(char));
|
2013-11-16 09:39:57 -05:00
|
|
|
printf("sizeof(short)=%d\n",sizeof(short));
|
2011-12-04 20:53:41 -05:00
|
|
|
printf("sizeof(int)=%d\n",sizeof(int));
|
|
|
|
printf("sizeof(long)=%d\n",sizeof(long));
|
2011-12-10 22:45:44 -05:00
|
|
|
printf("sizeof(unsigned_long)=%d\n",sizeof(unsigned long));
|
2011-12-04 20:53:41 -05:00
|
|
|
printf("sizeof(CARD32)=%d\n",sizeof(CARD32));
|
|
|
|
printf("sizeof(Atom)=%d\n",sizeof(Atom)); /* supposed to be CARD32 */
|
|
|
|
printf("sizeof(Window)=%d\n",sizeof(Window));
|
|
|
|
return(EXIT_SUCCESS);
|
|
|
|
}
|