Re: write



"Bill Cunningham" <nospam@xxxxxxxxx> writes:

"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'

Neither. Why would the length of a string have a character added to
it?
.