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

# SDL\_AsyncIOOutcome(3type)

Information about a completed asynchronous I/O request.

## NAME

SDL\_AsyncIOOutcome - Information about a completed asynchronous I/O request.

## HEADER FILE

Defined in SDL3/SDL\_asyncio.h

## SYNOPSIS

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

**typedef struct SDL\_AsyncIOOutcome** **{**     **SDL\_AsyncIO \*asyncio;   /\*\*\< what generated this task. This pointer will be invalid if it was closed! \*/**     **SDL\_AsyncIOTaskType type;  /\*\*\< What sort of task was this? Read, write, etc? \*/**     **SDL\_AsyncIOResult result;  /\*\*\< the result of the work (success, failure, cancellation). \*/**     **void \*buffer;  /\*\*\< buffer where data was read/written. \*/**     **Uint64 offset;  /\*\*\< offset in the SDL\_AsyncIO where data was read/written. \*/**     **Uint64 bytes\_requested;  /\*\*\< number of bytes the task was to read/write. \*/**     **Uint64 bytes\_transferred;  /\*\*\< actual number of bytes that were read/written. \*/**     **void \*userdata;    /\*\*\< pointer provided by the app when starting the task \*/** **} SDL\_AsyncIOOutcome;**

## AVAILABILITY

This struct is available since SDL 3.2.0.
