diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-05-30 08:53:55 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-05-30 08:53:55 -0600 |
commit | ab7516bd7c444d34950354e9ee207aeeb478be59 (patch) | |
tree | 30c13964c611a9373f931bf08f90d8f8f25d2f41 /apps/examples/hello/hello_main.c | |
parent | c4c17d3adb8096a5bc73cbe789897d1da8bc61a6 (diff) | |
download | px4-nuttx-ab7516bd7c444d34950354e9ee207aeeb478be59.tar.gz px4-nuttx-ab7516bd7c444d34950354e9ee207aeeb478be59.tar.bz2 px4-nuttx-ab7516bd7c444d34950354e9ee207aeeb478be59.zip |
snprintf(): If size is zero, then snprintf() should return the size of the required buffer without writing anyting. From Sami Pelkonen
Diffstat (limited to 'apps/examples/hello/hello_main.c')
-rw-r--r-- | apps/examples/hello/hello_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/examples/hello/hello_main.c b/apps/examples/hello/hello_main.c index 229027c36..95961545c 100644 --- a/apps/examples/hello/hello_main.c +++ b/apps/examples/hello/hello_main.c @@ -61,4 +61,3 @@ int hello_main(int argc, char *argv[]) printf("Hello, World!!\n"); return 0; } - |