---

SourceLib: New Code Samples Are Available

Two new code samples have been added to SourceLib:

Name: random2
Category: Basics
Purpose: Read random numbers from the Linux system
device /dev/urandom and use them to generate random integers in a
specified range.
Keywords: C stdio.h stdlib.h fopen fread fclose
urandom random

Name: shared_lib2
Category: Basics
Purpose: Manually load a shared library, retrieve
the address of a function in the library, call it, and then unload
the library. (See the make file and program.c for all the
interesting details and commentary.)
Keywords: C stdio.h stdlib.h dlopen dlsym dlclose
shared library so

If you’d like to learn more about SourceLib or contribute to it,
see the following resources:

The original
announcement and overview


Submission guidelines

Suggested
topics list

If you’d like to send us some suggestions or comments about
SourceLib (or anything else on LinuxProgramming.com, for that
matter), please feel free to e-mail me directly at the address
below.

Take care,
Lou Grinzo
Editor, LinuxProgramming.com
lgrinzo@internet.com

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis