Dan Gohman on Nostr: cursed unix syscalls NAME setpid - set process identification SYNOPSIS #include ...
cursed unix syscalls
NAME
setpid - set process identification
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
void setpid(pid_t pid);
DESCRIPTION
setpid() sets the process ID (PID) of the calling process. If another
process has the same ID, it is assigned a new randomly chosen ID.
NAME
setpid - set process identification
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
void setpid(pid_t pid);
DESCRIPTION
setpid() sets the process ID (PID) of the calling process. If another
process has the same ID, it is assigned a new randomly chosen ID.