The Client-Library sample programs are in %SYBASE%\%SYBASE_OCS%\sample\ctlib, which contains:
Source code for the sample programs
Data files for the sample programs
The header files — example.h, ctxact.h, exasync.h, exutils.h, thrdfuc.h, thrdutil.h, and wide_example.h — for the sample programs.
Create a backup copy of the contents of the directory
where the sample programs reside. This allows you to experiment
with the sample programs without affecting the integrity of the
original files.