summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdevstat')
-rw-r--r--lib/libdevstat/devstat.311
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libdevstat/devstat.3 b/lib/libdevstat/devstat.3
index 4c3c9de..69a4d74 100644
--- a/lib/libdevstat/devstat.3
+++ b/lib/libdevstat/devstat.3
@@ -1,5 +1,5 @@
.\"
-.\" Copyright (c) 1998 Kenneth D. Merry.
+.\" Copyright (c) 1998, 1999 Kenneth D. Merry.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -149,7 +149,14 @@ expects the
.Va statinfo
structure to be allocated, and it also expects the
.Va dinfo
-subelement to be allocated ahead of time. The
+subelement to be allocated and zeroed prior to the first invocation of
+.Fn getdevs .
+The
+.Va dinfo
+subelement is used to store state between calls, and should not be modified
+after the first call to
+.Fn getdevs .
+The
.Va dinfo
subelement contains the following elements:
.Bd -literal -offset indent
OpenPOWER on IntegriCloud