Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
startcpu(2)							   startcpu(2)

Name
       startcpu	- start	a CPU

Syntax
       startcpu(cpunumber)
       int cpunumber;

Description
       The  system  call  starts the CPU specified by cpunumber.  Any non-boot
       CPU can be started using	this system call. Only a superuser can execute
       this system call.

Return Values
       The  call  returns  0  if  the CPU was started successfully, or else it
       returns -1 and sets errno appropriately.

Diagnostics
       [EPERM]	      The caller is not	a superuser

       [EBUSY]	      The CPU is already running

       [ENODEV]	      No CPU present by	the given cpunumber

       [EINVAL]	      Invalid value  for  cpunumber.   A  valid	 cpunumber  is
		      between 0	and 31.

See Also
       stopcpu(2), startcpu(8),	stopcpu(8)

								   startcpu(2)

Name | Syntax | Description | Return Values | Diagnostics | See Also

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=startcpu&sektion=2&manpath=ULTRIX+4.2>

home | help