Re: write
- From: Joe Pfeiffer <pfeiffer@xxxxxxxxxxx>
- Date: Sun, 27 Apr 2008 20:58:46 -0600
"Bill Cunningham" <nospam@xxxxxxxxx> writes:
"Bill Waddington" <william.waddington@xxxxxxxxxx> wrote in message
news:c75a149109g74qhdr6tiqd9i9jkh61jvaq@xxxxxxxxxx
What does file say if you call write thusly:
if((t=write(file,buf,7))==-1) {
Just curious,
Bill
Just like I thought. Just enough space for the string "string\0" String
and the terminating \0. I changed it to strlen though.
strlen+1?
.
- Follow-Ups:
- Re: write
- From: Bill Cunningham
- Re: write
- References: