diff options
Diffstat (limited to 'docs/source/lang/void.rst')
-rw-r--r-- | docs/source/lang/void.rst | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/docs/source/lang/void.rst b/docs/source/lang/void.rst deleted file mode 100644 index 88bd448..0000000 --- a/docs/source/lang/void.rst +++ /dev/null @@ -1,31 +0,0 @@ -.. highlight:: cpp - -.. _lang-void: - -``void`` -======== - -The ``void`` keyword is used only in function declarations. It -indicates that the function is expected to return no information to -the function from which it was called, or that it expects no arguments -from its caller. - -Example -------- - -:: - - // actions are performed in the functions "setup" and "loop" - // but no information is reported to the larger program - - void setup() { - // ... - } - - void loop() { - // ... - } - -.. TODO doc page on function declaration? - -.. include:: cc-attribution.txt |