![]() |
![]()
| ![]() |
![]()
NAMEget_extension - Returns a pointer to the extension of a filename. Allegro game programming library. SYNOPSIS#include <allegro.h> char *get_extension(const char *filename); DESCRIPTIONFinds out the extension of the filename (with or without path information). Example:
RETURN VALUEReturns 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 ALSOget_filename(3), put_backslash(3), replace_extension(3)
|