Mercurial > libanimone
view include/animone/util/osx.h @ 6:f26b08274dcf
dep/animone: filter open files by access mode
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Fri, 12 Apr 2024 19:13:50 -0400 |
parents | cce3a81b03bf |
children |
line wrap: on
line source
#ifndef ANIMONE_ANIMONE_UTIL_OSX_H_ #define ANIMONE_ANIMONE_UTIL_OSX_H_ #include "animone/types.h" #include <cstdint> #include <string> #include <memory> #include <CoreFoundation/CoreFoundation.h> namespace animone::internal::osx::util { bool GetProcessName(pid_t pid, std::string& result); } // namespace animone::internal::osx::util #endif // ANIMONE_ANIMONE_UTIL_OSX_H_