krytarowski added a comment.

https://github.com/search?l=C&q=save_errno&ref=opensearch&type=Code

Here is an approach with `save_errno`, useful in libraries when we preserve 
errno for public functions in the API of a library as-is, and not leaking it 
from the internals to unrelated code.

Right now I don't volunteer to perform this for LLDB, but it would be nice to 
not propagate it.


Repository:
  rL LLVM

https://reviews.llvm.org/D43698



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to