sysctl.3 (108030) | sysctl.3 (108087) |
---|---|
1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 | 1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 |
33.\" $FreeBSD: head/lib/libc/gen/sysctl.3 108030 2002-12-18 10:13:54Z ru $ | 33.\" $FreeBSD: head/lib/libc/gen/sysctl.3 108087 2002-12-19 09:40:28Z ru $ |
34.\" 35.Dd January 23, 2001 36.Dt SYSCTL 3 37.Os 38.Sh NAME 39.Nm sysctl , 40.Nm sysctlbyname , 41.Nm sysctlnametomib --- 62 unchanged lines hidden (view full) --- 104If the old value is not desired, 105.Fa oldp 106and 107.Fa oldlenp 108should be set to NULL. 109.Pp 110The size of the available data can be determined by calling 111.Fn sysctl | 34.\" 35.Dd January 23, 2001 36.Dt SYSCTL 3 37.Os 38.Sh NAME 39.Nm sysctl , 40.Nm sysctlbyname , 41.Nm sysctlnametomib --- 62 unchanged lines hidden (view full) --- 104If the old value is not desired, 105.Fa oldp 106and 107.Fa oldlenp 108should be set to NULL. 109.Pp 110The size of the available data can be determined by calling 111.Fn sysctl |
112with a NULL parameter for | 112with the 113.Dv NULL 114argument for |
113.Fa oldp . 114The size of the available data will be returned in the location pointed to by 115.Fa oldlenp . 116For some operations, the amount of space may change often. 117For these operations, 118the system attempts to round up so that the returned size is 119large enough for a call to return the data shortly thereafter. 120.Pp --- 708 unchanged lines hidden --- | 115.Fa oldp . 116The size of the available data will be returned in the location pointed to by 117.Fa oldlenp . 118For some operations, the amount of space may change often. 119For these operations, 120the system attempts to round up so that the returned size is 121large enough for a call to return the data shortly thereafter. 122.Pp --- 708 unchanged lines hidden --- |