view clear_ipc @ 50:35ce1a30f3f9

* Added va_end where there is a va_start * Used NULL instead of 0 (so it works on 64b)
author thib
date Fri, 17 Apr 2009 18:38:06 +0000 (2009-04-17)
parents 223b71206888
children
line wrap: on
line source
#!/bin/sh
# IPC ��message queue��shared memory ���ĤäƤ��ޤäƤ���
# ���ˡ�����������õ�뤿��Υ�����ץ�

killall -KILL test xlovesys xclannad
ipcs | grep '^q' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -q $_";'
ipcs | grep '^m' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -m $_";'
ipcs | grep '^s' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -s $_";'