CUPL (Common UNIX Programming Library)

WHAT IS CUPL?

CUPL is a programming library which provides some common and usefull functions to UNIX programmers, saves your time and reduces the development process.

FEATURES

This is the first release and provides following features:

  • Flexible config parser.
  • Hash function.
  • Pattern matching based on regular expressions.

INSTALL

To install:

# tar -zxvf cupl-0.8.tar.gz
# cd cupl-0.8
# make all

This will install a static library to under /usr/local/lib as libcupl.a and a header file cupl.h to under /usr/local/include.

If you want to compile the samples:

# cd samples/
# make samples

HOW TO USE

Look at cfg-sample.c or hash-sample.c or regex-sample.c

To use libcupl, you must give -lcupl flag to your compiler and must include cupl.h.

$ cc -o sample sample.c -lcupl
$ ./sample

Code Browser || Programming API

DOWNLOAD

cupl-0.8.tar.gz   Download

AUTHOR

Baris Simsek, http://www.enderunix.org/simsek