 |
Index for Section 3 |
|
 |
Alphabetical listing for R |
|
 |
Bottom of page |
|
rad_detach_pid(3)
NAME
rad_detach_pid - Detach a process from a Resource Affinity Domain by pid
(libnuma library)
SYNOPSIS
#include <numa.h>
int rad_detach_pid(
pid_t pid );
PARAMETERS
pid Specifies a process identifier (pid) to detach from a RAD set.
DESCRIPTION
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.
RETURN VALUES
0 Success. In this case, rad_detach_pid() detaches the pid specified by
pid from the RAD set.
-1 Failure. In this case, errno is set to indicate the error.
ERRORS
If the rad_detach_pid() function fails, errno is set to one of the
following values for the reasons specified.
[ESRCH]
The process specified in pid does not exist.
[EPERM]
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.
SEE ALSO
Functions: rad_attach_pid(3), rad_bind_pid(3)
 |
Index for Section 3 |
|
 |
Alphabetical listing for R |
|
 |
Top of page |
|