cpusetDestroy - destroy a cpuset
SYNOPSIS
#include <cpuset.h>
int cpusetDestroy(char *qname);
DESCRIPTION
The cpusetDestroy function is used to destroy the speci
fied cpuset The qname argument is the name of the cpuset
that will be destroyed. Only processes running with root
user ID are allowed to destroy cpuset queues.
EXAMPLES
This example Destroys the cpuset queue named mpi_set.
char *qname = "mpi_set";
/* Destroy, if error - print error & exit */
if (!cpusetDestroy(qname)) {
perror("cpusetDestroy");
exit(1);
}
NOTES
cpusetDestroy is found in the library "libcpuset.so", and
will be loaded if the option --llccppuusseett is used with cc(1)
or ld(1).
RESTRICTIONS
Not all of the above capabilities are implemented. See
the RESTRICTIONS secion in manual entry cpuset(4) for
details.
SEE ALSO
cpuset(1), cpusetCreate(3x), cpuset(5).
DIAGNOSTICS
If successful, cpusetDestroy returns a 1. If cpusetDe
stroy fails, it returns the value 0 and errno is set to
indicate the error.
Man(1) output converted with
man2html