AVR-Ada Wiki
Ada cross compiler and libraries for AVR µCs
Status: Beta
Brought to you by:
rolf_ebert
The following function returns True, when Ch represents a file separator ('' or '/'):
function Is_Separator(Ch : Character) return Boolean;
The following function returns the String subscript of where the first file name character begins. The function skips over the directory portion of the Pathname:
function Filename_Index(Pathname : String) return Natural;
The following procedure parses Name into separate Base and Extension components according to the DOS 8.3 file naming convention (long file names are not supported):
procedure Parse_Filename(Base, Ext : out String; Name : String; OK : out Boolean);