[libc-commits] [PATCH] D134074: [libc] add strerror

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Sep 16 13:55:05 PDT 2022


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

Strerror maps error numbers to strings. Additionally, a utility for
mapping errors to strings was added so that it could be reused for
perror and similar.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134074

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/src/__support/CMakeLists.txt
  libc/src/__support/error_to_string.cpp
  libc/src/__support/error_to_string.h
  libc/src/__support/integer_to_string.h
  libc/src/string/CMakeLists.txt
  libc/src/string/strerror.cpp
  libc/src/string/strerror.h
  libc/test/ErrnoSetterMatcher.h
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/strerror_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134074.460893.patch
Type: text/x-patch
Size: 26457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220916/1c6d3bde/attachment-0001.bin>


More information about the libc-commits mailing list