abort function

The abort function forces the master to free the bus. It returns when the stop condition has been sent. The prototype for this function is:

int abort(
      void *hdl,
      int rcvid );

The arguments are:

hdl
The handle returned by the init function.
rcvid
The receive ID of the client.

The function must return:

0
Success.
-1
Failure.