diff options
author | Maciej W. Rozycki <macro@redhat.com> | 2025-03-28 12:35:52 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@redhat.com> | 2025-03-28 12:35:52 +0000 |
commit | bf6ac302cde4aef55ded7e5340f16e6cd8b8e874 (patch) | |
tree | 71b7a446375a6a5103f0c55c75a294bd132105b7 /stdio-common/tst-scanf-format-ss-c.c | |
parent | 50576060c8bf88a3c64c9ab1cdd516974ffb2690 (diff) | |
download | glibc-bf6ac302cde4aef55ded7e5340f16e6cd8b8e874.zip glibc-bf6ac302cde4aef55ded7e5340f16e6cd8b8e874.tar.gz glibc-bf6ac302cde4aef55ded7e5340f16e6cd8b8e874.tar.bz2 |
stdio-common: Add tests for formatted sscanf input specifiers
Wire sscanf into test infrastructure for formatted scanf input
specifiers.
Reviewed-by: Joseph Myers <josmyers@redhat.com>
Diffstat (limited to 'stdio-common/tst-scanf-format-ss-c.c')
-rw-r--r-- | stdio-common/tst-scanf-format-ss-c.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/stdio-common/tst-scanf-format-ss-c.c b/stdio-common/tst-scanf-format-ss-c.c new file mode 100644 index 0000000..58a7ce8 --- /dev/null +++ b/stdio-common/tst-scanf-format-ss-c.c @@ -0,0 +1,22 @@ +/* Test for formatted 'sscanf' input for the character conversions. + Copyright (C) 2025 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <https://www.gnu.org/licenses/>. */ + +#include "tst-scanf-format-skeleton.h" +#include "tst-scanf-format-ss.h" +#include "tst-scanf-format-character.h" +#include "tst-scanf-format-skeleton-c.c" |