NXC
Version 1.2.1 r5
|
Functions for accessing and modifying Loader module features. More...
Functions | |
unsigned int | FreeMemory (void) |
Get free flash memory. | |
unsigned int | CreateFile (string fname, unsigned int fsize, byte &handle) |
Create a file. | |
unsigned int | OpenFileAppend (string fname, unsigned int &fsize, byte &handle) |
Open a file for appending. | |
unsigned int | OpenFileRead (string fname, unsigned int &fsize, byte &handle) |
Open a file for reading. | |
unsigned int | CloseFile (byte handle) |
Close a file. | |
unsigned int | ResolveHandle (string filename, byte &handle, bool &writable) |
Resolve a handle. | |
unsigned int | RenameFile (string oldname, string newname) |
Rename a file. | |
unsigned int | DeleteFile (string fname) |
Delete a file. | |
unsigned int | ResizeFile (string fname, const unsigned int newsize) |
Resize a file. | |
unsigned int | CreateFileLinear (string fname, unsigned int fsize, byte &handle) |
Create a linear file. | |
unsigned int | CreateFileNonLinear (string fname, unsigned int fsize, byte &handle) |
Create a non-linear file. | |
unsigned int | OpenFileReadLinear (string fname, unsigned int &fsize, byte &handle) |
Open a linear file for reading. | |
unsigned int | FindFirstFile (string &fname, byte &handle) |
Start searching for files. | |
unsigned int | FindNextFile (string &fname, byte &handle) |
Continue searching for files. | |
unsigned int | SizeOf (variant &value) |
Calculate the size of a variable. | |
unsigned int | TypeOf (variant &value) |
Return the type of a variable. | |
unsigned int | Read (byte handle, variant &value) |
Read a value from a file. | |
unsigned int | ReadLn (byte handle, variant &value) |
Read a value from a file plus line ending. | |
unsigned int | ReadBytes (byte handle, unsigned int &length, byte &buf[]) |
Read bytes from a file. | |
unsigned int | ReadLnString (byte handle, string &output) |
Read a string from a file plus line ending. | |
unsigned int | Write (byte handle, const variant &value) |
Write value to file. | |
unsigned int | WriteBytes (byte handle, const byte &buf[], unsigned int &cnt) |
Write bytes to file. | |
unsigned int | WriteBytesEx (byte handle, unsigned int &len, const byte &buf[]) |
Write bytes to a file with limit. | |
unsigned int | WriteLn (byte handle, const variant &value) |
Write a value and new line to a file. | |
unsigned int | WriteLnString (byte handle, const string &str, unsigned int &cnt) |
Write string and new line to a file. | |
unsigned int | WriteString (byte handle, const string &str, unsigned int &cnt) |
Write string to a file. | |
void | SysFileOpenRead (FileOpenType &args) |
Open file for reading. | |
void | SysFileOpenWrite (FileOpenType &args) |
Open and create file for writing. | |
void | SysFileOpenAppend (FileOpenType &args) |
Open file for writing at end of file. | |
void | SysFileRead (FileReadWriteType &args) |
Read from file. | |
void | SysFileWrite (FileReadWriteType &args) |
File write. | |
void | SysFileClose (FileCloseType &args) |
Close file handle. | |
void | SysFileResolveHandle (FileResolveHandleType &args) |
File resolve handle. | |
void | SysFileRename (FileRenameType &args) |
Rename file. | |
void | SysFileDelete (FileDeleteType &args) |
Delete file. | |
void | SysLoaderExecuteFunction (LoaderExecuteFunctionType &args) |
Execute any Loader module command. | |
void | SysFileFindFirst (FileFindType &args) |
Start finding files. | |
void | SysFileFindNext (FileFindType &args) |
Continue finding files. | |
void | SysFileOpenWriteLinear (FileOpenType &args) |
Open and create linear file for writing. | |
void | SysFileOpenWriteNonLinear (FileOpenType &args) |
Open and create non-linear file for writing. | |
void | SysFileOpenReadLinear (FileOpenType &args) |
Open linear file for reading. | |
void | SysFileSeek (FileSeekType &args) |
Seek to file position. | |
void | SysFileResize (FileResizeType &args) |
Resize a file. | |
void | SysFileTell (FileTellType &args) |
Return the file position. | |
void | SysListFiles (ListFilesType &args) |
List files. | |
Functions for accessing and modifying Loader module features.