Hi
I want to do something like:
if [ ! -f /dev/shmem/myregion ];then
createMyregion
fi
But -f will only test for a regular file. Is there something I can use for
a shared memory region test?
Hi
I want to do something like:
if [ ! -f /dev/shmem/myregion ];then
createMyregion
fi
But -f will only test for a regular file. Is there something I can use for
a shared memory region test?
Never mind. -r works. It’s not exactly what I wanted but it does work.
“Bill Caroselli (Q-TPS)” <QTPS@EarthLink.net> wrote in message
news:ac3hs9$i8e$1@inn.qnx.com…
Hi
I want to do something like:
if [ ! -f /dev/shmem/myregion ];then
createMyregion
fiBut -f will only test for a regular file. Is there something I can use
for
a shared memory region test?