Annotation of 43BSDTahoe/new/X/doc/Xlib/ch02a.t, revision 1.1

1.1     ! root        1: .NH
        !             2: .IN "Linking Against Xlib"
        !             3: Use of Xlib
        !             4: .XS
        !             5: Linking Against Xlib
        !             6: .XE
        !             7: .PP
        !             8: To use Xlib, an include line of the form
        !             9: .IN "File" "<X/Xlib.h>"
        !            10: \fI#include <X/Xlib.h>\fP should be put near the top of a file
        !            11: using the library.
        !            12: This file defines data structures, macros,
        !            13: and symbols you will likely need when programming X.
        !            14: .IN "File" "<X/X.h>"
        !            15: .IN "File" "<sys/types.h>"
        !            16: This file also includes \fI<X/X.h>\fP, and \fI<sys/types.h>\fP.
        !            17: .IN "Unix Command" "CC(1)"
        !            18: To link an application to Xlib,
        !            19: add a \fI-lX\fP option to your cc command.
        !            20: .PP
        !            21: .IN "File" "<X/Xlib.h>"
        !            22: The types of most of the functions below are declared in \fIXlib.h\fP, so
        !            23: that you do not have to declare their types in your program.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.