File 2261-Show-how-to-get-the-system-word-size.patch of Package erlang

From 8693f22cc9a0ffc5d30232b83c4d64cb6e015b1b Mon Sep 17 00:00:00 2001
From: Nathan Long <him@nathanmlong.com>
Date: Thu, 21 Apr 2022 09:50:54 -0400
Subject: [PATCH] Show how to get the system word size

---
 system/doc/efficiency_guide/advanced.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/system/doc/efficiency_guide/advanced.xml b/system/doc/efficiency_guide/advanced.xml
index c545d22a8a..bdcf92529b 100644
--- a/system/doc/efficiency_guide/advanced.xml
+++ b/system/doc/efficiency_guide/advanced.xml
@@ -39,7 +39,9 @@
 
       <p>The unit of measurement is memory words. There exists both a
       32-bit and a 64-bit implementation. A word is therefore 4 bytes or
-      8 bytes, respectively.</p>
+      8 bytes, respectively. The value for a running system can be
+      determined by calling <seeerl marker="erts:erlang#system_info_wordsize">
+      <c>erlang:system_info(wordsize)</c></seeerl>.</p>
     <table>
       <row>
         <cell><em>Data Type</em></cell>
-- 
2.34.1

openSUSE Build Service is sponsored by