#include <dirent.h> /* directory operation constants and functions */
#include <stdlib.h> /* C standard library */
#include <unistd.h> /* unix standard library */
#include <dirent.h> /* directory operation constants and functions */
#include <stdlib.h> /* C standard library */
#include <unistd.h> /* unix standard library */
while (1) {
MutexLock(mutex); /* lock shared memory */
memset(shmptr, 0, sizeof(struct DirProp)); /* erase previous data */
while (1) {
MutexLock(mutex); /* lock shared memory */
memset(shmptr, 0, sizeof(struct DirProp)); /* erase previous data */