John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 1 | #ifndef AOS_LIBC_DIRNAME_H_ |
2 | #define AOS_LIBC_DIRNAME_H_ | ||||
Brian Silverman | af78486 | 2014-05-13 08:14:55 -0700 | [diff] [blame] | 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 | |||||
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 15 | #endif // AOS_LIBC_DIRNAME_H_ |