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 -3
View File
@@ -455,11 +455,11 @@ int lib_vsprintf(FAR struct lib_outstream_s *obj,
FAR const IPTR char *src, va_list ap); FAR const IPTR char *src, va_list ap);
/**************************************************************************** /****************************************************************************
* Name: lib_vsscanf * Name: lib_vscanf
* *
* Description: * Description:
* Stream-oriented implementation that underlies scanf family: fscanf, * Stream-oriented implementation that underlies scanf family: scanf,
* vfscanf, sscanf, and vsscanf * fscanf, vfscanf, sscanf, and vsscanf
* *
****************************************************************************/ ****************************************************************************/
+2 -1
View File
@@ -203,7 +203,8 @@ doexit:
* Name: lib_vscanf * Name: lib_vscanf
* *
* Description: * 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 * 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> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * 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, 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, ...) int sscanf(FAR const char *buf, FAR const IPTR char *fmt, ...)
+4
View File
@@ -50,6 +50,10 @@
* Public Functions * Public Functions
****************************************************************************/ ****************************************************************************/
/****************************************************************************
* Name: vfscanf
****************************************************************************/
int vfscanf(FAR FILE *stream, FAR const IPTR char *fmt, va_list ap) int vfscanf(FAR FILE *stream, FAR const IPTR char *fmt, va_list ap)
{ {
struct lib_stdinstream_s stdinstream; struct lib_stdinstream_s stdinstream;
+4
View File
@@ -50,6 +50,10 @@
* Public Functions * Public Functions
****************************************************************************/ ****************************************************************************/
/****************************************************************************
* Name: vsscanf
****************************************************************************/
int vsscanf(FAR const char *buf, FAR const char *fmt, va_list ap) int vsscanf(FAR const char *buf, FAR const char *fmt, va_list ap)
{ {
struct lib_meminstream_s meminstream; struct lib_meminstream_s meminstream;