sched_yield man page on FreeBSD

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

SCHED_YIELD(2)		    BSD System Calls Manual		SCHED_YIELD(2)

NAME
     sched_yield — yield processor

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <sched.h>

     int
     sched_yield(void);

DESCRIPTION
     The sched_yield() system call forces the running process to relinquish
     the processor until it again becomes the head of its process list.	 It
     takes no arguments.

RETURN VALUES
     The sched_yield() function returns the value 0 if successful; otherwise
     the value -1 is returned and the global variable errno is set to indicate
     the error.

ERRORS
     On failure errno will be set to the corresponding value:

     [ENOSYS]		The system is not configured to support this function‐
			ality.

STANDARDS
     The sched_yield() system call conforms to IEEE Std 1003.1b-1993
     (“POSIX.1”).

BSD				March 12, 1998				   BSD
[top]

List of man pages available for FreeBSD

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