MCPcopy Create free account
hub / github.com/coronalabs/corona / readFile

Function readFile

external/sqlite3/shell.c:3357–3377  ·  view source on GitHub ↗

** Read the content of file zName into memory obtained from sqlite3_malloc64() ** and return a pointer to the buffer. The caller is responsible for freeing ** the memory. ** ** If parameter pnByte is not NULL, (*pnByte) is set to the number of bytes ** read. ** ** For convenience, a nul-terminator byte is always appended to the data read ** from the file before the buffer is returned. This byte

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

readfileFuncFunction · 0.85
do_meta_commandFunction · 0.85

Calls 1

rewindFunction · 0.50

Tested by

no test coverage detected