Blender V5.0
BLI_mmap.h File Reference

Go to the source code of this file.

Typedefs

typedef struct BLI_mmap_file BLI_mmap_file

Functions

BLI_mmap_fileBLI_mmap_open (int fd) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
bool BLI_mmap_read (BLI_mmap_file *file, void *dest, size_t offset, size_t length) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void * BLI_mmap_get_pointer (BLI_mmap_file *file) ATTR_WARN_UNUSED_RESULT
size_t BLI_mmap_get_length (const BLI_mmap_file *file) ATTR_WARN_UNUSED_RESULT
bool BLI_mmap_any_io_error (const BLI_mmap_file *file) ATTR_WARN_UNUSED_RESULT
void BLI_mmap_free (BLI_mmap_file *file) ATTR_NONNULL(1)

Typedef Documentation

◆ BLI_mmap_file

typedef struct BLI_mmap_file BLI_mmap_file

Definition at line 18 of file BLI_mmap.h.

Function Documentation

◆ BLI_mmap_any_io_error()

◆ BLI_mmap_free()

◆ BLI_mmap_get_length()

◆ BLI_mmap_get_pointer()

◆ BLI_mmap_open()

◆ BLI_mmap_read()

bool BLI_mmap_read ( BLI_mmap_file * file,
void * dest,
size_t offset,
size_t length )