 |
Index for Section 3 |
|
 |
Alphabetical listing for N |
|
 |
Bottom of page |
|
nsg_destroy(3)
NAME
nsg_destroy - Destroys a NUMA Scheduling Group (libnuma library)
SYNOPSIS
#include <numa.h>
int nsg_destroy(
nsgid_t nsg );
PARAMETERS
nsg Specifies the NUMA Scheduling Group (NSG).
DESCRIPTION
Remove the NSG identified by nsg and deallocate associated structures. If
the NSG is currently non-empty, existing members are removed before
deleting the NSG.
RESTRICTIONS
The effective user ID of the calling process must be equal to the value of
nsg_perm.cuid or nsg_perm.uid in the associated nsgid_ds structure, or the
calling process must have write permissions to the NSG.
RETURN VALUES
0 Success. In this case, the NSG was successfully destroyed.
-1 Failure. The NSG was not destroyed and errno is set to indicate the
error.
ERRORS
If the nsg_destroy() function fails, it sets errno to one of the following
values for the specified condition:
[EACCES]
The calling process does not have write permission.
[EINVAL]
The nsg argument does not specify a valid NSG ID.
SEE ALSO
Functions: nsg_attach_pid(3), nsg_init(3), numa_intro(3)
Files: numa_types(4)
 |
Index for Section 3 |
|
 |
Alphabetical listing for N |
|
 |
Top of page |
|