Should I set errno?

后端 未结 6 858
盖世英雄少女心
盖世英雄少女心 2020-12-14 05:37

I\'m writing a module which exports an interface similar to send and recv.

Since those functions are supposed to return respectively the nu

6条回答
  •  长情又很酷
    2020-12-14 06:19

    From: http://support.sas.com/documentation/onlinedoc/sasc/doc700/html/lr1/errno.htm

    The only portable values for errno are EDOM and ERANGE

    So that answers your portability question.

提交回复
热议问题