file_size(3alleg)

file_size3alleg

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

Usage

#include <allegro.h>

long file_size(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

2 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1
  2. 4.0

From liballegro-doc 2:4.2.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's man source.