/usr/X11R6/include/X11/X.h
/usr/X11R6/include/X11/Xlib.h
/usr/X11R6/include/X11/Xutil.h
/usr/X11R6/include/X11/keysymdef.h

man XCreateWindow
man ...