resource_int_value.9 (84306) | resource_int_value.9 (88509) |
---|---|
1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 2001 M. Warner Losh 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" | 1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 2001 M. Warner Losh 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" |
29.\" $FreeBSD: head/share/man/man9/resource_int_value.9 84306 2001-10-01 16:09:29Z ru $ | 29.\" $FreeBSD: head/share/man/man9/resource_int_value.9 88509 2001-12-26 23:14:04Z davidc $ |
30.\" 31.Dd March 1, 2001 32.Dt RESOURCE_INT_VALUE 9 33.Os 34.Sh NAME 35.Nm resource_int_value , resource_long_value , resource_string_value 36.Nd get a value from the hints mechanism 37.Sh SYNOPSIS | 30.\" 31.Dd March 1, 2001 32.Dt RESOURCE_INT_VALUE 9 33.Os 34.Sh NAME 35.Nm resource_int_value , resource_long_value , resource_string_value 36.Nd get a value from the hints mechanism 37.Sh SYNOPSIS |
38.In sys/param.h |
|
38.In sys/bus.h 39.Ft int 40.Fn resource_int_value "const char *name" "int unit" "const char *resname" "int *result" 41.Ft int 42.Fn resource_long_value "const char *name" "int unit" "const char *resname" "long *result" 43.Ft int | 39.In sys/bus.h 40.Ft int 41.Fn resource_int_value "const char *name" "int unit" "const char *resname" "int *result" 42.Ft int 43.Fn resource_long_value "const char *name" "int unit" "const char *resname" "long *result" 44.Ft int |
44.Fn resource_string_value "const char *name" "int unit" "const char *resname" "char **result" | 45.Fn resource_string_value "const char *name" "int unit" "const char *resname" "const char **result" |
45.Sh DESCRIPTION 46These functions fetch a value from the 47.Dq hints 48mechanism. 49.Pp 50The functions take the following arguments: 51.Bl -tag -width "resname" 52.It Fa name --- 26 unchanged lines hidden --- | 46.Sh DESCRIPTION 47These functions fetch a value from the 48.Dq hints 49mechanism. 50.Pp 51The functions take the following arguments: 52.Bl -tag -width "resname" 53.It Fa name --- 26 unchanged lines hidden --- |