I've come across some code that was a real hack job, and was written by a real hacker. I'm not exactly sure what his function declarations are doing:
I had assumed that this would be equivalent to
but GCC disagrees (in the form of error messages if I change the function declaration). Can someone explain the subtleties of declaring functions his way?
int docmd_w(char cm, char *cmd, int dr)