函数返回值的一些规则

有一些简单的规则,从POSIX约定开始:

Methods that create objects return NULL if they fail.

Methods that process data may return the number of bytes processed, or -1 on an error or failure.

Other methods return 0 on success and -1 on an error or failure.

The error code is provided in errno or zmq_errno().

上一篇:ERROR: Command errored out with exit status 1一例


下一篇:Python常见问题 - pip报错 ValueError: Unable to find resource t64.exe in package pip._vendor.distlib