netbsd man page for get_extension

Query: get_extension

OS: netbsd

Section: 3alleg4

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

get_extension(3alleg4)						  Allegro manual					    get_extension(3alleg4)

NAME
get_extension - Returns a pointer to the extension of a filename. Allegro game programming library. SYNOPSIS
#include <allegro.h> char *get_extension(const char *filename); DESCRIPTION
Finds out the extension of the filename (with or without path information). Example: get_executable_name(name, sizeof(name)); allegro_message("The binary has the extension `%s' ", get_extension(name)); RETURN VALUE
Returns a pointer to the portion of `filename' where the extension starts, or a pointer to the trailing null character if there is no file- name or it doesn't have extension. SEE ALSO
get_filename(3alleg4), put_backslash(3alleg4), replace_extension(3alleg4) Allegro version 4.4.2 get_extension(3alleg4)
Related Man Pages
exmidi(3alleg4) - centos
get_filename(3alleg4) - suse
get_filename(3alleg4) - opendarwin
get_filename(3alleg4) - linux
get_filename(3alleg4) - osx
Similar Topics in the Unix Linux Community
How to get files with a specific extension
tar &amp; Grep together
Sun's Trial Products &#8212; Try Now and Buy at 20 - 40% Off
Move multiple files 4rm Source to different target folders based on a series num in the file content