MCPcopy Create free account
hub / github.com/SmingHub/Sming / readFileAsync

Function readFileAsync

samples/LiveDebug/app/application.cpp:232–235  ·  view source on GitHub ↗

* Read a file using callbacks. * Note that filename must be in persistent memory (e.g. flash string) as call may not be started * immediately. */

Source from the content-addressed store, hash-verified

230 * immediately.
231 */
232void readFileAsync(const char* filename)
233{
234 gdb_syscall_open(filename, O_RDONLY, 0, asyncReadCallback);
235}
236
237void fileStat(const char* filename)
238{

Callers 1

COMMAND_HANDLERFunction · 0.85

Calls 1

gdb_syscall_openFunction · 0.85

Tested by

no test coverage detected