Added folder globbing for permanent permissions

This commit is contained in:
2025-05-05 18:53:05 +02:00
parent 4539df9842
commit 420f34a7f3
6 changed files with 114 additions and 88 deletions

17
src/proc_operations.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef PROC_OPERATIONS
#define PROC_OPERATIONS
#include <time.h>
char *get_process_name_by_pid(const int pid);
/**
* Finds the parent process ID of a given process.
*
* @param pid: The process ID of the process to find the parent of
* @return: The parent process ID, or 0 if the parent process ID could not be
* found
*/
pid_t get_parent_pid(pid_t pid);
#endif // !PROC_OPERATIONS