Re: write




"Bill Marcum" <marcumbill@xxxxxxxxxxxxx> wrote in message
news:slrng1amad.7ap.marcumbill@xxxxxxxxxxxxxxxx

A text file should end with \n.

So should a buffer's length look like this:

strlen(buffer)+'\n' Or like this:
strlen(buffer)+'\0'

Bill


.