file_size_ex(3alleg)

file_size_ex3alleg

Returns the size of a file in bytes. allegro game programming library.

Usage

#include <allegro.h>

uint64_t file_size_ex(const char *filename);

Overview

Returns the size of a file, in bytes. If the file does not exist or an error occurs, it will return zero and store the system error code in errno.

Releases

Unchanged in 2 releases since Debian 5.0 (Lenny).

  1. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.