sched_get_priority_max.2 (59954) | sched_get_priority_max.2 (68854) |
---|---|
1.\" $FreeBSD: head/lib/libc/sys/sched_get_priority_max.2 59954 2000-05-04 13:09:25Z phantom $ | 1.\" $FreeBSD: head/lib/libc/sys/sched_get_priority_max.2 68854 2000-11-17 11:44:16Z ru $ |
2.\" Copyright (c) 1998 HD Associates, Inc. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. --- 60 unchanged lines hidden (view full) --- 70.Bl -tag -width [SCHED_OTHER] 71.It Bq Er SCHED_FIFO 72First-in-first-out fixed priority scheduling with no round robin scheduling; 73.It Bq Er SCHED_OTHER 74The standard time sharing scheduler; 75.It Bq Er SCHED_RR 76Round-robin scheduling across same priority processes. 77.El | 2.\" Copyright (c) 1998 HD Associates, Inc. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. --- 60 unchanged lines hidden (view full) --- 70.Bl -tag -width [SCHED_OTHER] 71.It Bq Er SCHED_FIFO 72First-in-first-out fixed priority scheduling with no round robin scheduling; 73.It Bq Er SCHED_OTHER 74The standard time sharing scheduler; 75.It Bq Er SCHED_RR 76Round-robin scheduling across same priority processes. 77.El |
78.Sh RETURN | 78.Sh RETURN VALUES |
79If successful, the 80.Fn sched_get_priority_max 81and 82.Fn sched_get_priority_min 83functions shall return the appropriate maximum or minimum values, | 79If successful, the 80.Fn sched_get_priority_max 81and 82.Fn sched_get_priority_min 83functions shall return the appropriate maximum or minimum values, |
84respectively. If unsuccessful, the shall return a value of -1 and set | 84respectively. If unsuccessful, they shall return a value of -1 and set |
85.Fa errno 86to indicate the error. 87.Pp 88If successful, the 89.Fn sched_rr_get_interval 90function will return 0. Otherwise, it will 91return a value of -1 and set 92.Fa errno --- 33 unchanged lines hidden --- | 85.Fa errno 86to indicate the error. 87.Pp 88If successful, the 89.Fn sched_rr_get_interval 90function will return 0. Otherwise, it will 91return a value of -1 and set 92.Fa errno --- 33 unchanged lines hidden --- |