[Date Prev][Date Next] [Chronological] [Thread] [Top]

Define ldap_errno as errno



According to the draft  "draft-zeilenga-ldap-c-api-errno-00.txt", is it valid to define the context-specific variable ldap_errno as errno if the platform already supports a context-specific errno?

i.e.  #define ldap_errno errno

The draft says ldap_errno should reflect the last error from a CAPI call, and should not be modified if the CAPI call returns success.  It's not clear to me if the draft intended to allow this #define.