---
name: "iob_prefetch"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://carta.tech/man/iob_prefetch"
---

# iob\_prefetch(3)

prefetch data for I/O batch

## NAME

iob\_prefetch - prefetch data for I/O batch

## SYNTAX

**#include \<libowfat/iob.h\>**

void **iob\_prefetch**(io\_batch\* b,uint64 n);

## DESCRIPTION

iob\_prefetch makes sure the next *n* bytes are in memory.

This is useful when serving large files over the network concurrently. Prefetching the data can then reduce hard disk head movement and enhance throughput.

## SEE ALSO

[iob\_reset(3)](/man/iob_reset/3.md), [iob\_send(3)](/man/iob_send/3.md), [iob\_addbuf(3)](/man/iob_addbuf/3.md), [iob\_adds\_free(3)](/man/iob_adds_free/3.md), [iob\_addfile(3)](/man/iob_addfile/3.md)
