int EIOPartWriter:: deactivatePart() { closeStreams(); me = -1; return 0; }
int EIOPartWriter:: closePartitioning() { if(me != -1) { closeStreams(); } return 0; }
void Process_free(Process_T *P) { assert(P && *P); FREE((*P)->working_directory); if (Process_isRunning(*P)) Process_kill(*P); closeParentPipes(*P); closeStreams(*P); FREE(*P); }
/* winaxlExit() must always be called before exiting. */ void winaxlExit(int n) { closeStreams(); PostMessage(hParent, wm_Compiler_End, 0, 0L); SetActiveWindow(hParent); if (n != EXIT_SUCCESS) { PostQuitMessage(n); LongJmp(winExitBuf, 1); } else PostQuitMessage(n); }
int EIOPartReader::closePartitioning(int& part) { me = -1; closeStreams(); return 0; }