close() Close the channel. Declarationfunc close() -> IOReturn Return ValueAn error code value. 0 if successful.