From 87a3b9da5d8d69e6adf0a51ebb44dcaddbd4798d Mon Sep 17 00:00:00 2001 From: cnst Date: Fri, 10 May 2019 05:59:47 +0000 Subject: [PATCH] envsys(4): mention ioctl(2) commands left over from Nx 1.5/4.0 experimental API --- share/man/man4/envsys.4 | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/share/man/man4/envsys.4 b/share/man/man4/envsys.4 index 6966451b905b..bf09ac16d2a5 100644 --- a/share/man/man4/envsys.4 +++ b/share/man/man4/envsys.4 @@ -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