diff options
author | David Pursell <dpursell@google.com> | 2016-01-27 08:52:53 -0800 |
---|---|---|
committer | David Pursell <dpursell@google.com> | 2016-02-01 12:18:26 -0800 |
commit | 5f787ed2b3b9f6cc02aa5923b95d77e2a5865438 (patch) | |
tree | 5be11d6f3a3772a7e1b93ae9969168aa8a7bca88 /libutils/ProcessCallStack.cpp | |
parent | aef26bb1a4adb953f6bbd5a7e01ca964ed3b386d (diff) |
base: add SystemErrorCodeToString() function.
Pulls the Windows error string generation out of adb into libbase so
that it can be used by fastboot as well. Also makes a Unix equivalent
that just wraps strerror() so that upcoming fastboot error reporting
code can be platform-independent.
The intent here is just to provide a portable way to report an error to
the user. More general cross-platform error handling is out of scope.
Bug: http://b/26236380
Change-Id: I5a784a844775949562d069bb41dcb0ebd13a32bc
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions