Brian Silverman | af78486 | 2014-05-13 08:14:55 -0700 | [diff] [blame^] | 1 | #ifndef AOS_COMMON_LIBC_DIRNAME_H_ |
2 | #define AOS_COMMON_LIBC_DIRNAME_H_ | ||||
3 | |||||
4 | #include <string> | ||||
5 | |||||
6 | namespace aos { | ||||
7 | namespace libc { | ||||
8 | |||||
9 | // Thread-safe version of dirname(3). | ||||
10 | ::std::string Dirname(const ::std::string &path); | ||||
11 | |||||
12 | } // namespace libc | ||||
13 | } // namespace aos | ||||
14 | |||||
15 | #endif // AOS_COMMON_LIBC_DIRNAME_H_ |