SDDSlib
|
Provides functions to manipulate and clean filename strings. More...
#include "mdb.h"
#include <ctype.h>
Go to the source code of this file.
Functions | |
char * | clean_filename (char *filename) |
Removes path and version specifications from a filename string. | |
Provides functions to manipulate and clean filename strings.
This file contains functions to create, manage, and manipulate buffers that store lines of text strings. Buffers can be dynamically created, added to, cleared, and printed to files.
Definition in file clean_filename.c.
char * clean_filename | ( | char * | filename | ) |
Removes path and version specifications from a filename string.
This function eliminates any path components enclosed in ']' and truncates the filename at the first occurrence of ';' to remove version information.
filename | The filename string to be cleaned. |
Definition at line 33 of file clean_filename.c.