## C Examples

This chapter contains some of the C examples that are available in the `examples/c` directory under the AOLserver installation directory. Look in the `examples/c` directory for additional examples.

These examples are indexed. If you want to find an example of a specific C function, look in the index under the name of the C function for the subentry "example of". For example:

Ns_RegisterDriver C function, 186

example of, 203, 225

#### Contents

Example | Description
--- | ---
Example 1: nshello | Implements simple "hello world"
Example 2: alias | Provides arbitrary URL-to-file translation
Example 3: counter | Generates odometer-like page count image
Example 4: stats | Implements simple connection statistics
Example 5: tclhello | Shows how to extend the built-in Tcl scripting language
Example 6: tclcs | Adds critical section primitives to the built-in Tcl
Example 7: postgres | Illustrates user-defined database driver for Postgres95

Top of Page
Copyright © 1998-99 America Online, Inc.