envsys(4): mention ioctl(2) commands left over from Nx 1.5/4.0 experimental API

This commit is contained in:
cnst 2019-05-10 05:59:47 +00:00
parent d154fb91b7
commit 87a3b9da5d
1 changed files with 18 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: envsys.4,v 1.53 2018/05/31 07:37:45 wiz Exp $
.\" $NetBSD: envsys.4,v 1.54 2019/05/10 05:59:47 cnst Exp $
.\"
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -352,6 +352,23 @@ rfact (voltage sensors) or critical/warning/capacity limits,
.Er ENOTSUP
will be returned.
.El
.Pp
Additionally, the following
.Xr ioctl 2
commands are provided for compatibility purposes
for applications written against the original experimental
.Nm
API available between
.Nx 1.5
and
.Nx 4.0 ;
they have been deprecated since
.Nx 5.0 ,
and may be removed at any time:
.Bl -tag -width Ds
.It Dv ENVSYS_GTREDATA Pq envsys_tre_data_t
.It Dv ENVSYS_GTREINFO Pq envsys_basic_info_t
.El
.Sh NOTES
When setting a critical/warning max or min limit with the
.Dv ENVSYS_SETDICTIONARY