File writing

In reply to avinash_nambiar:

What value does fd1 have after calling $fopen?