I’m working to an application where I want to create a few processes and to assign a name and a priority to each process. I am able to assign a priority to each process using the setprio() function, but I didn’t manage to assign a name to every newly created process.
I used to do this in Linux by modifying the argv parameter, but it doesn’t work in QNX. I am also able to read the name of every process using the devctl() command with the parameter DCMD_PROC_MAPDEBUG_BASE, but I didn’t find any method to modify the name of the process.
Is it any method to modify the name of a newly created process in QNX?