Re: write
- From: Joe Pfeiffer <pfeiffer@xxxxxxxxxxx>
- Date: Mon, 28 Apr 2008 22:25:53 -0600
"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?
.
- Follow-Ups:
- Re: write
- From: Bill Cunningham
- Re: write
- References: