Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


SourceLib: New Code Samples Are Available

Jan 19, 2001, 20:17 (0 Talkback[s])
(Other stories by Lou Grinzo)

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