cpusetDestroy man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



cpusetDestroy(3x)					     cpusetDestroy(3x)

NAME
     cpusetDestroy - destroy a cpuset

SYNOPSIS
     #include <cpuset.h>

     int cpusetDestroy(char *qname);

DESCRIPTION
     The cpusetDestroy function is used to destroy the specified 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.
     A cpuset can only be destroyed if there are no threads currently attached
     to it.

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 -lcpuset is used with cc(1) or ld(1).

SEE ALSO
     cpuset(1), cpusetCreate(3x), cpuset(5).

DIAGNOSTICS
     If successful, cpusetDestroy returns a 1.	If cpusetDestroy fails, it
     returns the value 0 and errno is set to indicate the error.  The values
     for errno are the same as those returned by sysmp(2).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net