mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Cosmetic update to some comments.
This commit is contained in:
@@ -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
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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, ...)
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user