Add an attribution to the scanset addition to sscanf()

This commit is contained in:
Gregory Nutt
2016-12-17 16:18:04 -06:00
parent 7be1b86a81
commit 8ce1fdaab0
+4
View File
@@ -142,6 +142,10 @@ static int findwidth(FAR const char *buf, FAR const char *fmt)
* Return a pointer to the character the closing ']'.
* The table has a 1 wherever characters should be considered part of the
* scanset.
*
* Function findscanset based on source function __sccl of FreeBSD
* (https://github.com/lattera/freebsd/blob/master/sys/kern/subr_scanf.c)
*
****************************************************************************/
#ifdef CONFIG_LIBC_SCANSET