File 3732-snmp-manager-doc-Document-the-new-restart-function.patch of Package erlang
From 8270a6482f4077e54b26486794109c547d4163a5 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Tue, 4 Feb 2020 17:24:25 +0100
Subject: [PATCH 2/5] [snmp|manager|doc] Document the new (restart) function
OTP-16447
---
lib/snmp/doc/src/snmpm.xml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/lib/snmp/doc/src/snmpm.xml b/lib/snmp/doc/src/snmpm.xml
index c45df98ee0..71308dcf80 100644
--- a/lib/snmp/doc/src/snmpm.xml
+++ b/lib/snmp/doc/src/snmpm.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>2004</year><year>2018</year>
+ <year>2004</year><year>2020</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -1487,6 +1487,21 @@ priv_key = [integer()] (length is 16 if priv = usmDESPrivProtocol | usmAesCfb1
verbosity <c>silence</c>, nothing is printed. The higher the
verbosity, the more is printed.</p>
+ <marker id="restart"></marker>
+ </desc>
+ </func>
+
+ <func>
+ <name>restart(Ref) -> void()</name>
+ <fsummary>Restart the indicated process</fsummary>
+ <type>
+ <v>Ref = net_if</v>
+ </type>
+ <desc>
+ <p>Restart the indicated process (<c>Ref</c>). Note that its not
+ without risk to restart a process, and should therefor be used
+ with care. </p>
+
<marker id="format_reason"></marker>
</desc>
</func>
--
2.16.4