MCPcopy Create free account
hub / github.com/FreeApophis/TrueCrypt / FindStringInFile

Function FindStringInFile

Common/Dlgcode.c:6727–6796  ·  view source on GitHub ↗

Searches the file from its end for the LAST occurrence of the string str. The string may contain zeroes, which do NOT terminate the string. If the string is found, its offset from the start of the file is returned. If the string isn't found or if any error occurs, -1 is returned.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

err_mallocFunction · 0.85
GetFileSize64Function · 0.85

Tested by

no test coverage detected