Writing to A NON-Existing File in "C"

Ron Natalie ron at topaz.rutgers.edu
Fri Apr 8 10:51:11 AEST 1988


Contemplate the following:

    fd = open("file", 1);
    if(fd == -1)
	    fd = open("/dev/null", 1);



More information about the Comp.unix.questions mailing list