MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / adfReleaseDumpDevice

Function adfReleaseDumpDevice

dep/adflib/src/adf_dump.c:143–156  ·  view source on GitHub ↗

* adfReleaseDumpDevice * */

Source from the content-addressed store, hash-verified

141 *
142 */
143RETCODE adfReleaseDumpDevice(struct Device *dev)
144{
145 struct nativeDevice* nDev;
146
147 if (!dev->nativeDev)
148 return RC_ERROR;
149
150 nDev = (struct nativeDevice*)dev->nativeDev;
151 fclose(nDev->fd);
152
153 free(nDev);
154
155 return RC_OK;
156}
157
158
159/*

Callers 2

adfMountDevFunction · 0.85
adfUnMountDevFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected