Deleted Added
full compact
sched_setparam.2 (59954) sched_setparam.2 (68854)
1.\" $FreeBSD: head/lib/libc/sys/sched_setparam.2 59954 2000-05-04 13:09:25Z phantom $
1.\" $FreeBSD: head/lib/libc/sys/sched_setparam.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.

--- 118 unchanged lines hidden (view full) ---

128If
129.Fa pid
130is zero, the scheduling parameters for the calling process will be
131returned. In this implementation, the
132.Fa sched_getparam
133function will fail if
134.Fa pid
135is negative.
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.

--- 118 unchanged lines hidden (view full) ---

128If
129.Fa pid
130is zero, the scheduling parameters for the calling process will be
131returned. In this implementation, the
132.Fa sched_getparam
133function will fail if
134.Fa pid
135is negative.
136.Sh RETURN
136.Sh RETURN VALUES
137The function will return zero if it completes successfully, or it
138will return a value of -1 and set
139.Va errno
140to indicate the error.
141.Sh ERRORS
142On failure
143.Va errno
144will be set to the corresponding value:

--- 30 unchanged lines hidden ---
137The function will return zero if it completes successfully, or it
138will return a value of -1 and set
139.Va errno
140to indicate the error.
141.Sh ERRORS
142On failure
143.Va errno
144will be set to the corresponding value:

--- 30 unchanged lines hidden ---