MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / closedir

Function closedir

modules/dasSQLITE/sqlite/shell.c:1504–1517  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1502** Implementation of the POSIX closedir() function using the MSVCRT.
1503*/
1504INT closedir(
1505 LPDIR dirp
1506){
1507 INT result = 0;
1508
1509 if( dirp==NULL ) return EINVAL;
1510
1511 if( dirp->d_handle!=NULL_INTPTR_T && dirp->d_handle!=BAD_INTPTR_T ){
1512 result = _findclose(dirp->d_handle);
1513 }
1514
1515 sqlite3_free(dirp);
1516 return result;
1517}
1518
1519#endif /* defined(WIN32) && defined(_MSC_VER) */
1520

Callers 8

opendirFunction · 0.85
fsdirResetCursorFunction · 0.85
fsdirNextFunction · 0.85
introduceDaslibMethod · 0.85
collect_module_namesFunction · 0.85
init_modules_for_folderFunction · 0.85
builtin_dirFunction · 0.85
rmdir_rec_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected