VirtualBox

Changeset 102051 in vbox


Ignore:
Timestamp:
Nov 9, 2023 7:53:51 PM (13 months ago)
Author:
vboxsync
Message:

libs/xpcom: Remove now unused PR_sscanf API, bugref:10545

Location:
trunk/src/libs/xpcom18a4
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r102049 r102051  
    471471        nsprpub/pr/src/io/prmapopt.c \
    472472        nsprpub/pr/src/io/prprf.c \
    473         nsprpub/pr/src/io/prscanf.c \
    474473        nsprpub/pr/src/io/prstdio.c \
    475474        nsprpub/pr/src/misc/prerr.c \
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prprf.h

    r11551 r102051  
    7272#define PR_vsxprintf VBoxNsprPR_vsxprintf
    7373#define PR_vfprintf VBoxNsprPR_vfprintf
    74 #define PR_sscanf VBoxNsprPR_sscanf
    7574#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    7675
     
    130129NSPR_API(PRUint32) PR_vfprintf(struct PRFileDesc* fd, const char *fmt, va_list ap);
    131130
    132 /*
    133 ***************************************************************************
    134 ** FUNCTION: PR_sscanf
    135 ** DESCRIPTION:
    136 **     PR_sscanf() scans the input character string, performs data
    137 **     conversions, and stores the converted values in the data objects
    138 **     pointed to by its arguments according to the format control
    139 **     string.
    140 **
    141 **     PR_sscanf() behaves the same way as the sscanf() function in the
    142 **     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, whereas
    145 **       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 *buf
    151 **         a character string holding the input to scan
    152 **     const char *fmt
    153 **         the format control string for the conversions
    154 **     ...
    155 **         variable number of arguments, each of them is a pointer to
    156 **         a data object in which the converted value will be stored
    157 ** OUTPUTS: none
    158 ** RETURNS: PRInt32
    159 **     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 
    167131PR_END_EXTERN_C
    168132
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette