From 7cd8466eb909190231b5baaf8443e1249cda8646 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 23 Jan 2019 21:33:55 -0800 Subject: [PATCH] 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. --- Language/Variables/Data Types/size_t.adoc | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Language/Variables/Data Types/size_t.adoc diff --git a/Language/Variables/Data Types/size_t.adoc b/Language/Variables/Data Types/size_t.adoc new file mode 100644 index 000000000..c8d2da3a2 --- /dev/null +++ b/Language/Variables/Data Types/size_t.adoc @@ -0,0 +1,35 @@ +--- +title: size_t +categories: [ "Variables" ] +subCategories: [ "Data Types" ] +--- + + + + + += size_t + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Description +`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()]. +[%hardbreaks] + +-- +// OVERVIEW SECTION ENDS + +// SEE ALSO SECTION STARTS +[#see_also] +-- + +[float] +=== See also + + +-- +// SEE ALSO SECTION ENDS