---
name: "SDL_vsscanf"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_vsscanf"
---

# SDL\_vsscanf(3)

This works exactly like vsscanf() but doesn't require access to a C runtime.

## NAME

SDL\_vsscanf - This works exactly like vsscanf() but doesn't require access to a C runtime.

## HEADER FILE

Defined in SDL3/SDL\_stdinc.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**int SDL\_vsscanf(const char \*text, const char \*fmt, va\_list ap);**

## DESCRIPTION

Functions identically to  **SDL\_sscanf** (), except it takes a **va\_list** instead of using **...** variable arguments.

## FUNCTION PARAMETERS

- *text*

  the string to scan. Must not be NULL.

- *fmt*

  a printf-style format string. Must not be NULL.

- *ap*

  a **va\_list** of pointers to values to be filled in with scanned items.

## RETURN VALUE

Returns the number of items that matched the format string.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL 3.2.0.
