Linux Today: Linux News On Internet Time.

LinuxProgramming.com: SourceLib: New Code Samples Are Available

Feb 16, 2001, 13:45 (1 Talkback[s])
(Other stories by Lou Grinzo)

Two new code samples have been added to SourceLib:

Name: mem_mapped_files.tar.gz
Category: File_Handling
Purpose: Demonstrate how to memory map a file.
Keywords: C unistd.h mman.h stat.h fcntl.h open close fstat mmap munmap system memory mapped file

Name: variadics.tar.gz
Category: Basics
Purpose: Demonstrate how to use variable-length argument lists, both within our program and in calling the vsnprintf() function.
Keywords: C stdarg.h va_list va_arg va_start va_end variable length parameter list

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