comparison dep/animia/include/bsd.h @ 97:18979b066284

animia/unix: fix a bunch of stuff that breaks OS X things
author Paper <mrpapersonic@gmail.com>
date Thu, 02 Nov 2023 13:14:15 -0400
parents eab9e623eb84
children
comparison
equal deleted inserted replaced
96:bd68e4393e6f 97:18979b066284
5 #include <unordered_map> 5 #include <unordered_map>
6 6
7 namespace Animia { namespace Unix { 7 namespace Animia { namespace Unix {
8 8
9 std::vector<int> get_all_pids(); 9 std::vector<int> get_all_pids();
10 std::string get_process_name(int pid); 10 std::string get_process_name(const int pid);
11 std::vector<std::string> get_open_files(int pid); 11 std::vector<std::string> get_open_files(const int pid);
12 std::vector<std::string> filter_system_files(const std::vector<std::string>& in);
12 std::unordered_map<int, std::vector<std::string>> get_all_open_files(); 13 std::unordered_map<int, std::vector<std::string>> get_all_open_files();
13 14
14 } // namespace Unix 15 } // namespace Unix
15 } // namespace Animia 16 } // namespace Animia
16 17