MCPcopy Create free account
hub / github.com/TheOfficialFloW/VitaShell / archiveFileClose

Function archiveFileClose

archive.c:834–845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832}
833
834int archiveFileClose(SceUID fd) {
835 if (is_psarc)
836 return psarcFileClose(fd);
837
838 if (!archive_fd || fd != ARCHIVE_FD)
839 return -1;
840
841 archive_read_free(archive_fd);
842 archive_fd = NULL;
843
844 return 0;
845}
846
847int ReadArchiveFile(const char *file, void *buf, int size) {
848 SceUID fd = archiveFileOpen(file, SCE_O_RDONLY, 0);

Callers 2

extractArchiveFileFunction · 0.85
ReadArchiveFileFunction · 0.85

Calls 1

psarcFileCloseFunction · 0.85

Tested by

no test coverage detected