removed including malloc.h (malloc() is available from stdlib.h)
fix irand() argument uint to uint64_t
return adios_errno which is <= 0 value instead of -adios_errno
Unify return values of int functions: 0 on OK, adios_errno on error