<Solved>How to clear a QSharedMemory
I have an application which continuously polls a QSharedMemory to check if something's been written into it.
But once something has been written and retrieved, I'd like to clear the shared memory of its content.
Is there a way to do it? I do not wish to detach and attach to it again, as I might wish vital information.
Did you try memset() ?
Thank you. Was looking for this. But nothing Qt specific, I see.