Cosmetic update to some comments.

This commit is contained in:
Gregory Nutt
2019-02-15 18:26:06 -06:00
parent c271151d57
commit 72bc331217
6 changed files with 22 additions and 8 deletions
+3 -2
View File
@@ -200,10 +200,11 @@ doexit:
****************************************************************************/
/****************************************************************************
* Name: lib_vscanf
* Name: lib_vscanf
*
* Description:
* Stream-oriented version of vsscanf.
* Stream-oriented implementation that underlies scanf family: scanf,
* fscanf, vfscanf, sscanf, and vsscanf
*
****************************************************************************/
+7 -2
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* libs/libc/stdio/lib_libvsprintf.c
*
* Copyright (C) 2007-2012, 2018 Gregory Nutt. All rights reserved.
* Copyright (C) 2007-2012, 2018-2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -1183,7 +1183,12 @@ static void postjustify(FAR struct lib_outstream_s *obj, uint8_t justify,
****************************************************************************/
/****************************************************************************
* libs/libc/stdio/lib_vsprintf
* Name: lib_vsprintf
*
* Description:
* Stream-oriented implementation that underlies printf family: printf,
* fprint, sprint, etc.
*
****************************************************************************/
int lib_vsprintf(FAR struct lib_outstream_s *obj, FAR const IPTR char *src,
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* sscanf
* Name: sscanf
****************************************************************************/
int sscanf(FAR const char *buf, FAR const IPTR char *fmt, ...)
+4
View File
@@ -50,6 +50,10 @@
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: vfscanf
****************************************************************************/
int vfscanf(FAR FILE *stream, FAR const IPTR char *fmt, va_list ap)
{
struct lib_stdinstream_s stdinstream;
+4
View File
@@ -50,6 +50,10 @@
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: vsscanf
****************************************************************************/
int vsscanf(FAR const char *buf, FAR const char *fmt, va_list ap)
{
struct lib_meminstream_s meminstream;