Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
Description
ANend terminates access to the AN interface identified by an_id, which is previously initialized by a call to ANstart. Note that there must be one call to ANend for each call to ANstart.