GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GET_EXTENSION (3)

NAME

get_extension - Returns a pointer to the extension of a filename. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

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’\n",
                   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 filename or it doesn’t have extension.

SEE ALSO

get_filename(3), put_backslash(3), replace_extension(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro GET_EXTENSION (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.