summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/darwin-format-checks.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gcc~13/darwin-format-checks.html
new repository
Diffstat (limited to 'devdocs/gcc~13/darwin-format-checks.html')
-rw-r--r--devdocs/gcc~13/darwin-format-checks.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/gcc~13/darwin-format-checks.html b/devdocs/gcc~13/darwin-format-checks.html
new file mode 100644
index 00000000..29cabff4
--- /dev/null
+++ b/devdocs/gcc~13/darwin-format-checks.html
@@ -0,0 +1,6 @@
+<div class="subsection-level-extent" id="Darwin-Format-Checks"> <div class="nav-panel"> <p> Previous: <a href="solaris-format-checks" accesskey="p" rel="prev">Solaris Format Checks</a>, Up: <a href="target-format-checks" accesskey="u" rel="up">Format Checks Specific to Particular Target Machines</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="subsection" id="Darwin-Format-Checks-1"><span>6.61.2 Darwin Format Checks<a class="copiable-link" href="#Darwin-Format-Checks-1"> ΒΆ</a></span></h1> <p>In addition to the full set of format archetypes (attribute format style arguments such as <code class="code">printf</code>, <code class="code">scanf</code>, <code class="code">strftime</code>, and <code class="code">strfmon</code>), Darwin targets also support the <code class="code">CFString</code> (or <code class="code">__CFString__</code>) archetype in the <code class="code">format</code> attribute. Declarations with this archetype are parsed for correct syntax and argument types. However, parsing of the format string itself and validating arguments against it in calls to such functions is currently not performed. </p> <p>Additionally, <code class="code">CFStringRefs</code> (defined by the <code class="code">CoreFoundation</code> headers) may also be used as format arguments. Note that the relevant headers are only likely to be available on Darwin (OSX) installations. On such installations, the XCode and system documentation provide descriptions of <code class="code">CFString</code>, <code class="code">CFStringRefs</code> and associated functions. </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/Darwin-Format-Checks.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Darwin-Format-Checks.html</a>
+ </p>
+</div>