annotate clear_ipc @ 47:5f548e5957a8

* get rid of the "deprecated conversion from string constant to ‘char*’" warnings
author thib
date Wed, 15 Apr 2009 20:26:32 +0000
parents 223b71206888
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
223b71206888 Initial import
thib
parents:
diff changeset
1 #!/bin/sh
223b71206888 Initial import
thib
parents:
diff changeset
2 # IPC ¤Îmessage queue¡¿shared memory ¤¬»Ä¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤ë
223b71206888 Initial import
thib
parents:
diff changeset
3 # »þ¤Ë¡¢¤½¤ì¤òÁ´Éô¾Ãµî¤¹¤ë¤¿¤á¤Î¥¹¥¯¥ê¥×¥È
223b71206888 Initial import
thib
parents:
diff changeset
4
223b71206888 Initial import
thib
parents:
diff changeset
5 killall -KILL test xlovesys xclannad
223b71206888 Initial import
thib
parents:
diff changeset
6 ipcs | grep '^q' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -q $_";'
223b71206888 Initial import
thib
parents:
diff changeset
7 ipcs | grep '^m' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -m $_";'
223b71206888 Initial import
thib
parents:
diff changeset
8 ipcs | grep '^s' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -s $_";'