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

> because size_t comes in both a signed (ssize_t) and unsigned (size_t) variant.

ssize_t is not ISO C. Also, %z is a modifier, not a specifier, so you can print size_t with %zu, or ssize_t with %zd.



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

Search: