1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-11-14 12:55:06 -05:00
FireTray/testing/xtypes.c
2012-06-29 17:34:20 +02:00

18 lines
550 B
C

#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
#include <X11/Xmd.h>
int main(int argc, char **argv) {
printf("sizeof(void*)=%d\n",sizeof(void*));
printf("sizeof(char)=%d\n",sizeof(char));
printf("sizeof(int)=%d\n",sizeof(int));
printf("sizeof(long)=%d\n",sizeof(long));
printf("sizeof(unsigned_long)=%d\n",sizeof(unsigned long));
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);
}