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

You can offset your str_t by creating a new str_t that subtracts offs from the length and adds offs to the pchar. There is no need to keep track of the offset separately.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: