blob: fa733d7ce17236780a899da84f830e38ab6b1057 [file] [log] [blame]
John Park33858a32018-09-28 23:05:48 -07001#ifndef AOS_LIBC_DIRNAME_H_
2#define AOS_LIBC_DIRNAME_H_
Brian Silvermanaf784862014-05-13 08:14:55 -07003
4#include <string>
5
6namespace aos {
7namespace 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 Park33858a32018-09-28 23:05:48 -070015#endif // AOS_LIBC_DIRNAME_H_