Skip to content

Commit 7cd8466

Browse files
committed
Document size_t
Although I don't think size_t is a type that will be commonly used by beginners in their code, some Arduino functions return size_t and that will naturally lead users to look for a size_t page in the Data Types section of the Language Reference.
1 parent b0791f1 commit 7cd8466

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: size_t
3+
categories: [ "Variables" ]
4+
subCategories: [ "Data Types" ]
5+
---
6+
7+
8+
9+
10+
11+
= size_t
12+
13+
14+
// OVERVIEW SECTION STARTS
15+
[#overview]
16+
--
17+
18+
[float]
19+
=== Description
20+
`size_t` is a data type capable of representing the size of any object in bytes. Examples of the use of `size_t` are the return type of link:../../Utilities/sizeof[sizeof()] and link:../../../Functions/Communication/Serial/print[Serial.print()].
21+
[%hardbreaks]
22+
23+
--
24+
// OVERVIEW SECTION ENDS
25+
26+
// SEE ALSO SECTION STARTS
27+
[#see_also]
28+
--
29+
30+
[float]
31+
=== See also
32+
33+
34+
--
35+
// SEE ALSO SECTION ENDS

0 commit comments

Comments
 (0)