php man page for get_datafile_property

Query: get_datafile_property

OS: php

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

get_datafile_property(3alleg4)					  Allegro manual				    get_datafile_property(3alleg4)

NAME
get_datafile_property - Returns the property string for the object. Allegro game programming library. SYNOPSIS
#include <allegro.h> const char *get_datafile_property(const DATAFILE *dat, int type); DESCRIPTION
Finds the property type of a DATAFILE object. The type parameter must be a value created with the DAT_ID() macro. Example: const char *name; ... name = get_datafile_property(game_data, DAT_ID('N','A','M','E')); if (name == empty_string) abort_on_error("Object doesn't have a name!"); RETURN VALUE
Returns a pointer to the text string for the object, or a pointer to the variable empty_string if the property isn't present. SEE ALSO
DAT_ID(3alleg4), empty_string(3alleg4) Allegro version 4.4.2 get_datafile_property(3alleg4)
Related Man Pages
load_datafile(3alleg4) - debian
load_datafile(3alleg4) - centos
exdata(3alleg4) - centos
load_datafile(3alleg4) - plan9
load_datafile(3alleg4) - v7
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!