summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/pointer-arith.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
committerCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
commit82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch)
tree158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/gcc~13/pointer-arith.html
parent9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff)
downloaddotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz
dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/gcc~13/pointer-arith.html')
-rw-r--r--devdocs/gcc~13/pointer-arith.html6
1 files changed, 0 insertions, 6 deletions
diff --git a/devdocs/gcc~13/pointer-arith.html b/devdocs/gcc~13/pointer-arith.html
deleted file mode 100644
index 1f3b3de5..00000000
--- a/devdocs/gcc~13/pointer-arith.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<div class="section-level-extent" id="Pointer-Arith"> <div class="nav-panel"> <p> Next: <a href="variadic-pointer-args" accesskey="n" rel="next">Pointer Arguments in Variadic Functions</a>, Previous: <a href="subscripting" accesskey="p" rel="prev">Non-Lvalue Arrays May Have Subscripts</a>, Up: <a href="c-extensions" accesskey="u" rel="up">Extensions to the C Language Family</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div> <h1 class="section" id="Arithmetic-on-void--and-Function-Pointers"><span>6.24 Arithmetic on void- and Function-Pointers<a class="copiable-link" href="#Arithmetic-on-void--and-Function-Pointers"> ΒΆ</a></span></h1> <p>In GNU C, addition and subtraction operations are supported on pointers to <code class="code">void</code> and on pointers to functions. This is done by treating the size of a <code class="code">void</code> or of a function as 1. </p> <p>A consequence of this is that <code class="code">sizeof</code> is also allowed on <code class="code">void</code> and on function types, and returns 1. </p> <p>The option <samp class="option">-Wpointer-arith</samp> requests a warning if these extensions are used. </p> </div><div class="_attribution">
- <p class="_attribution-p">
- &copy; Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br>
- <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Pointer-Arith.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Pointer-Arith.html</a>
- </p>
-</div>