How can I write a couple of lines to a file using c?
ex: I want a simple c program which will write three lines to a file call
/tmp/file1 under solaris.
after I run the c program, it should write the three lines to the /tmp/file1
#! is line one
line3 is good
thanks in advance