Cleanup the samples
commitf949b1d28af9394f734f3e5243a3a6d58f850aca
authorAlberto Bertogli <albertito@blitiri.com.ar>
Sat, 28 Mar 2009 04:34:11 +0000 (28 01:34 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Sat, 28 Mar 2009 04:38:27 +0000 (28 01:38 -0300)
tree3c001bcf0fad487c6d576c9ced890d6898757470
parentc7fbc9989650aa923468cdbbed2ce12589cfdec9
Cleanup the samples

This patch does several cleanups to the samples:

 - Replace the ugly build and clean scripts with a Makefile.
 - Several style fixes.
 - Do not open the files with O_SYNC.
 - Make them write to different files.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
samples/Makefile [new file with mode: 0644]
samples/build [deleted file]
samples/clean [deleted file]
samples/jio1.c
samples/jio2.c
samples/jio3.c