MCPcopy Create free account
hub / github.com/audacity/audacity / closedir

Function closedir

lib-src/sqlite/shell.c:1373–1386  ·  view source on GitHub ↗

** Implementation of the POSIX closedir() function using the MSVCRT. */

Source from the content-addressed store, hash-verified

1371** Implementation of the POSIX closedir() function using the MSVCRT.
1372*/
1373INT closedir(
1374 LPDIR dirp
1375){
1376 INT result = 0;
1377
1378 if( dirp==NULL ) return EINVAL;
1379
1380 if( dirp->d_handle!=NULL_INTPTR_T && dirp->d_handle!=BAD_INTPTR_T ){
1381 result = _findclose(dirp->d_handle);
1382 }
1383
1384 sqlite3_free(dirp);
1385 return result;
1386}
1387
1388#endif /* defined(WIN32) && defined(_MSC_VER) */
1389

Callers 8

lilv_dir_for_eachFunction · 0.85
osdir_list_finishFunction · 0.85
osdir_list_finishFunction · 0.85
osdir_list_finishFunction · 0.85
listFilesMethod · 0.85
opendirFunction · 0.85
fsdirResetCursorFunction · 0.85
fsdirNextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected