| // Copyright 2009 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #ifndef MINI_CHROMIUM_BASE_POSIX_SAFE_STRERROR_H_ | |
| #define MINI_CHROMIUM_BASE_POSIX_SAFE_STRERROR_H_ | |
| #include <string> | |
| namespace base { | |
| void safe_strerror_r(int err, char *buf, size_t len); | |
| std::string safe_strerror(int err); | |
| } // namespace base | |
| #endif // MINI_CHROMIUM_BASE_POSIX_SAFE_STRERROR_H_ |