GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CPUSET(3) FreeBSD Library Functions Manual CPUSET(3)

cpuset_parselistutility functions for cpuset(2) handling

System Utilities Library (libutil, -lutil)

#include <sys/cpuset.h>
#include <libutil.h>

int
cpuset_parselist(const char *cpu-list, cpuset_t *mask);

The () function parses a cpu-list filling the mask.

The cpu-list may include numbers separated by '-' for ranges and commas separating individual numbers. A special list of “all” may be specified in which case the list includes all CPUs from the root set.

Return values can be the following

The parsing was successful
The cpu-list format is invalid
The cpuset_getaffinity(2) call has failed
The number of supported CPUs has been exceeded. The maximum number being CPU_SETSIZE.

cpuset(1), cpuset(2), cpuset(9)

Jeffrey Roberson <jeff@FreeBSD.org>

October 31, 2017 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.