MCPcopy Create free account
hub / github.com/apple-oss-distributions/dyld / closeSplitCacheFiles

Function closeSplitCacheFiles

dyld/SharedCacheRuntime.cpp:627–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625
626#if !TARGET_OS_EXCLAVEKIT
627static void closeSplitCacheFiles(CacheInfo infoArray[16], uint32_t numFiles) {
628 for ( unsigned i = 0; i < numFiles; ++i ) {
629 int subCachefd = infoArray[i].fd;
630 if ( subCachefd != -1 )
631 ::close(subCachefd);
632 }
633}
634#endif // !TARGET_OS_EXCLAVEKIT
635
636

Callers 2

mapSplitCachePrivateFunction · 0.85
mapSplitCacheSystemWideFunction · 0.85

Calls 1

closeFunction · 0.85

Tested by

no test coverage detected