Changeset 102051 in vbox
- Timestamp:
- Nov 9, 2023 7:53:51 PM (13 months ago)
- Location:
- trunk/src/libs/xpcom18a4
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r102049 r102051 471 471 nsprpub/pr/src/io/prmapopt.c \ 472 472 nsprpub/pr/src/io/prprf.c \ 473 nsprpub/pr/src/io/prscanf.c \474 473 nsprpub/pr/src/io/prstdio.c \ 475 474 nsprpub/pr/src/misc/prerr.c \ -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/prprf.h
r11551 r102051 72 72 #define PR_vsxprintf VBoxNsprPR_vsxprintf 73 73 #define PR_vfprintf VBoxNsprPR_vfprintf 74 #define PR_sscanf VBoxNsprPR_sscanf75 74 #endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */ 76 75 … … 130 129 NSPR_API(PRUint32) PR_vfprintf(struct PRFileDesc* fd, const char *fmt, va_list ap); 131 130 132 /*133 ***************************************************************************134 ** FUNCTION: PR_sscanf135 ** DESCRIPTION:136 ** PR_sscanf() scans the input character string, performs data137 ** conversions, and stores the converted values in the data objects138 ** pointed to by its arguments according to the format control139 ** string.140 **141 ** PR_sscanf() behaves the same way as the sscanf() function in the142 ** Standard C Library (stdio.h), with the following exceptions:143 ** - PR_sscanf() handles the NSPR integer and floating point types,144 ** such as PRInt16, PRInt32, PRInt64, and PRFloat64, whereas145 ** sscanf() handles the standard C types like short, int, long,146 ** and double.147 ** - PR_sscanf() has no multibyte character support, while sscanf()148 ** does.149 ** INPUTS:150 ** const char *buf151 ** a character string holding the input to scan152 ** const char *fmt153 ** the format control string for the conversions154 ** ...155 ** variable number of arguments, each of them is a pointer to156 ** a data object in which the converted value will be stored157 ** OUTPUTS: none158 ** RETURNS: PRInt32159 ** The number of values converted and stored.160 ** RESTRICTIONS:161 ** Multibyte characters in 'buf' or 'fmt' are not allowed.162 ***************************************************************************163 */164 165 NSPR_API(PRInt32) PR_sscanf(const char *buf, const char *fmt, ...);166 167 131 PR_END_EXTERN_C 168 132
Note:
See TracChangeset
for help on using the changeset viewer.