Hacker News new | past | comments | ask | show | jobs | submit login

Uuh. This is ancient K&R C. Here's a version that is somewhat closer to todays C. https://gist.github.com/jpfr/560c861cd3eb76700a54

Can we replace some of the one-letter codes with better namings?

It still doesn't compile, though, does it? When I try, the expression pr(w->p[i]) doesn't work because the argument is a long and pr is declared to take an A *.

Sure it compiles.

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