Remote devices management. Disconnects from the remote device.

 

Parameters:

 

dev - device that needs to be disconnected

 

Return:

 

errno error code