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

Won't "%zu" vs "%zd" do the trick? `z' is a modifier, like `l'.

(That said, I've only ever used %zu myself... don't think I've ever used ssize_t. I'm pretty sure it's non-ISO.)



It does (other variants like `%zx` are also fine).




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

Search: