Arithmetic of function field units