Dear all,

I had to write a stub code for reading and writing binary and text
files as part of my MAPI work.

I thought I will share this with you all since it is very useful for
you to learn C.

Please find the code with sexy syntax highlighting here:

http://gayatri-hitech.com/Misc/fio.c.html

Just copy paste it as fio.c

Then write a makefile.

$ cat Makefile
all : fio

 fio : fio.c
       gcc $(CFLAGS) $< -o $@

This sample also illustrates using the syslog facility which can
double up as printf to the console when given the
flags PCONS.

Have fun!

Ever yours,
Girish
-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to