comparison include/animone/fd/xnu.h @ 13:efbb8316395f

dep/animone: clean up OS X code GetProcessName() really belongs in fd.cc after removing the stupid unnecessary LaunchServices code that was stolen from... some library :)
author Paper <paper@paper.us.eu.org>
date Mon, 13 May 2024 14:15:47 -0400
parents a76fa32bdc92
children 27b988a1048c
comparison
equal deleted inserted replaced
12:52927e5118f9 13:efbb8316395f
9 9
10 namespace animone::internal::xnu { 10 namespace animone::internal::xnu {
11 11
12 bool EnumerateOpenProcesses(process_proc_t process_proc); 12 bool EnumerateOpenProcesses(process_proc_t process_proc);
13 bool EnumerateOpenFiles(const std::set<pid_t>& pids, open_file_proc_t open_file_proc); 13 bool EnumerateOpenFiles(const std::set<pid_t>& pids, open_file_proc_t open_file_proc);
14 bool GetProcessName(pid_t pid, std::string& result);
14 15
15 } // namespace animone::internal::xnu 16 } // namespace animone::internal::xnu
16 17
17 #endif // ANIMONE_ANIMONE_FD_XNU_H_ 18 #endif // ANIMONE_ANIMONE_FD_XNU_H_