O'Reilly logo

Linux Application Development, Second Edition by Erik W. Troan, Michael K. Johnson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Code Examples

broken.c

Poorly written code to test memory checkers

59

libhello.c

Simple example of a shared library

86

usehello.c

Simple example of calling a function in a shared library

86

calc.c

Demonstration of pipe() to implement a calculator

133

ladsh1.c

The first pass at a simple command shell

140

hwwrite.c

Demonstration of creating and writing to a file

169

cat.c

Implementation of cat illustrating read() and write()

174

statsamp.c

Displays results of stat(), lstat(), and fstat()

178

checkflags.c

Displays status of ext3 extended attributes

185

setflags.c

Sets values of ext3 extended attributes

187

mknod.c

Creates device files and named pipes

189

sighup.c

Demonstration of SIGHUP forcing log file resets

225

queued.c

Demonstration of signal queuing and reordering

228

sicode.c

Sample ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required