Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: