C processes in Linux

From Teknologisk videncenter
Revision as of 08:42, 17 December 2022 by Heth (talk | contribs) (Replaced content with " =Advanced= ==prctl== prctl - operations on a process <source lang=c> // Changing the name of running proces #include <sys/prctl.h> ... prctl(PR_SET_NAME, "newname")...")
Jump to: navigation, search


Advanced

prctl

prctl - operations on a process

// Changing the name of running proces
#include <sys/prctl.h>
...
    prctl(PR_SET_NAME, "newname");
...