(C-Backend): Add input function.