BUFSIZ is standard. buf isn't.
When all else fails, read the instructions. If you're posting code, use code tags: [code] /* insert code here */ [/code]