Skip to content

Commit 31fd80a

Browse files
authored
Merge pull request MicrosoftDocs#2279 from mikeblome/mb-895
added links to related topics
2 parents ae3abed + aaed6b5 commit 31fd80a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/c-runtime-library/reference/sscanf-sscanf-l-swscanf-swscanf-l.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "sscanf, _sscanf_l, swscanf, _swscanf_l"
3-
ms.date: "11/04/2016"
3+
ms.date: "08/29/2019"
44
apiname: ["swscanf", "sscanf", "_sscanf_l", "_swscanf_l"]
55
apilocation: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll"]
66
apitype: "DLLExport"
@@ -65,6 +65,8 @@ For information on these and other error codes, see [_doserrno, errno, _sys_errl
6565

6666
The **sscanf** function reads data from *buffer* into the location given by each *argument*. Every *argument* must be a pointer to a variable with a type that corresponds to a type specifier in *format*. The *format* argument controls the interpretation of the input fields and has the same form and function as the *format* argument for the **scanf** function. If copying takes place between strings that overlap, the behavior is undefined.
6767

68+
For information about scanf type field characters, see [scanf Type Field Characters](../scanf-type-field-characters.md). For information about scanf format specification fields, see [Format Specification Fields](../format-specification-fields-scanf-and-wscanf-functions.md).
69+
6870
> [!IMPORTANT]
6971
> When reading a string with **sscanf**, always specify a width for the **%s** format (for example, **"%32s"** instead of **"%s"**); otherwise, improperly formatted input can easily cause a buffer overrun.
7072

0 commit comments

Comments
 (0)