fclose () calls segfault. I have:
char buffer[L_tmpnam]; char *pipeName = tmpnam(buffer); FILE *pipeFD = fopen(pipeName, "w");
I do not make any files associated with the file ... but nonetheless, this does not affect it. However, my MAIN process communicates with another process through shared memory, where pipeName is stored; another process captures this read pipe for communication with the MAIN.
Any ideas why this causes segfault?
Thank you Christo
source share