C processes in Linux

From Teknologisk videncenter
Revision as of 08:56, 17 December 2022 by Heth (talk | contribs)
Jump to: navigation, search

There are several ways of creating a new process.

Advanced

prctl

prctl - operations on a process

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

Links