3 ms·
> The only time your PID would change from a previous value obtained from that very same function is in the child, after a call to fork() Or clone3, but with P
by duped 3y ago
> The only time your PID would change from a previous value obtained from that very same function is in the child, after a call to fork()
Or clone3, but with PID namespaces the answer to "what is the PID of a process" is a trickier question.