|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ T c ┃
Length: 696 (0x2b8) Types: TextFile Names: »ch02a.t«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« └─⟦2109abc41⟧ └─ ⟦this⟧ »./X.V10R4/doc/Xlib/ch02a.t«
.NH .IN "Linking Against Xlib" Use of Xlib .XS Linking Against Xlib .XE .PP To use Xlib, an include line of the form .IN "File" "<X/Xlib.h>" \fI#include <X/Xlib.h>\fP should be put near the top of a file using the library. This file defines data structures, macros, and symbols you will likely need when programming X. .IN "File" "<X/X.h>" .IN "File" "<sys/types.h>" This file also includes \fI<X/X.h>\fP, and \fI<sys/types.h>\fP. .IN "Unix Command" "CC(1)" To link an application to Xlib, add a \fI-lX\fP option to your cc command. .PP .IN "File" "<X/Xlib.h>" The types of most of the functions below are declared in \fIXlib.h\fP, so that you do not have to declare their types in your program.