MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsDirClose

Function cupsDirClose

cups/dir.c:69–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 */
68
69void
70cupsDirClose(cups_dir_t *dp) /* I - Directory pointer */
71{
72 /*
73 * Range check input...
74 */
75
76 if (!dp)
77 return;
78
79 /*
80 * Close an open directory handle...
81 */
82
83 if (dp->dir != INVALID_HANDLE_VALUE)
84 FindClose(dp->dir);
85
86 /*
87 * Free memory used...
88 */
89
90 free(dp);
91}
92
93
94/*

Callers 15

mimeLoadFiltersFunction · 0.85
mimeLoadTypesFunction · 0.85
load_driversFunction · 0.85
load_ppdsFunction · 0.85
cupsdCleanFilesFunction · 0.85
cupsdLoadBannersFunction · 0.85
cupsdLoadAllJobsFunction · 0.85
load_request_rootFunction · 0.85
type_dirFunction · 0.85
mainFunction · 0.85
cupsdCreateCommonDataFunction · 0.85
load_quirksFunction · 0.85

Calls

no outgoing calls

Tested by 5

type_dirFunction · 0.68
valid_pathFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68