On Sat, Oct 07, 2023 at 03:40:50AM +0000, Zhijian Li (Fujitsu) wrote: > +rdma-core > > > Is global variable *errno* reliable when the documentation only states > "returns 0 on success, or the value of errno on failure (which indicates the > failure reason)."
I think the intention of this language was that an errno constant is returned, the caller should not assume it is stored in errno. errno is difficult, many things overwrite it, you can loose its value during error handling. Jason