buf and len are more idiomatic in C.

Signed-off-by: Thiago Farina <tfarina@chromium.org>