@eric-postpischil thanks, it makes sense now, although can you please tell me which function(s) use such a method of error handling, from what I've seen most of the linux apis return -1 in the case of error and set errno to the specific error code
Reasons:
Blacklisted phrase (0.5): thanks
RegEx Blacklisted phrase (2.5): can you please tell me