rad_detach_pid(3)rad_detach_pid(3)NAMErad_detach_pid - Detach a process from a Resource Affinity Domain by
pid (libnuma library)
pid_t pid );
Specifies a process identifier (pid) to detach from a RAD set.
The rad_detach_pid() function frees a process that has been bound or
attached to a RAD through the functions rad_bind_pid() or
rad_attach_pid(), respectively. If the pid argument is NULL, the call
is self-directed. That is, the function behaves as if the calling
process's pid were specified. Calling rad_detach_pid() for a process
that is not attached or bound is not considered to be an error.
Success. In this case, rad_detach_pid() detaches the pid specified by
pid from the RAD set. Failure. In this case, errno is set to indicate
If the rad_detach_pid() function fails, errno is set to one of the fol‐
lowing values for the reasons specified. The process specified in pid
does not exist. The real or effective user ID of the caller does not
match the real or effective user ID of the process pid, or the caller
does not have appropriate privileges to free processes from RADs.
Functions: rad_attach_pid(3), rad_bind_pid(3)rad_detach_pid(3)