Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dar8919
on May 1, 2014
|
parent
|
context
|
favorite
| on:
Linux file write patterns: So you want to write to...
The second code snippet looks wrong,
write(out, buf, (r - w)) should be write(out, buf + w, r - w)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
write(out, buf, (r - w)) should be write(out, buf + w, r - w)