MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_sscanf

Function rt_sscanf

src/klibc/kstdio.c:105–115  ·  view source on GitHub ↗

* @brief This function parses a formatted string from the input string. * * @param str the input string to be parsed. * * @param format the format string that specifies how to interpret the input. * * @return The number of input items successfully matched and assigned. */

Source from the content-addressed store, hash-verified

103 * @return The number of input items successfully matched and assigned.
104 */
105int rt_sscanf(const char *str, const char *format, ...)
106{
107 va_list ap;
108 int rv;
109
110 va_start(ap, format);
111 rv = rt_vsscanf(str, format, ap);
112 va_end(ap);
113
114 return rv;
115}
116RTM_EXPORT(rt_sscanf);

Callers 15

rt_ofw_get_phyidFunction · 0.85
at_connect_notice_cbFunction · 0.85
at_acceptFunction · 0.85
lcd_set_overlay_colkeyFunction · 0.85
devmemFunction · 0.85
devmem2Function · 0.85
devmemFunction · 0.85
whc_devmemFunction · 0.85
devmemFunction · 0.85
devmem2Function · 0.85
TC_rt_sscanf_charFunction · 0.85

Calls 1

rt_vsscanfFunction · 0.70

Tested by 1

mainFunction · 0.68