MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCL-CTS / releaseOutputStream

Function releaseOutputStream

test_conformance/printf/test_printf.cpp:153–158  ·  view source on GitHub ↗

----------------------------------------- releaseOutputStream -----------------------------------------

Source from the content-addressed store, hash-verified

151// releaseOutputStream
152//-----------------------------------------
153void releaseOutputStream(int fd)
154{
155 fflush(stdout);
156 streamDup2(fd,fileno(stdout));
157 close(fd);
158}
159
160//-----------------------------------------
161// printfCallBack

Callers 3

acquireOutputStreamFunction · 0.85
doTestFunction · 0.85
InitCLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected