• 0 success
  • -1 means a system error occurred, the meaning of other values is function dependant and should be defined in the related header