History log of /freebsd-9.3-release/usr.bin/ipcrm/ipcrm.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 174891 24-Dec-2007 edwin

Add the ability to clean up all shared memory segments which are
unused in one go.

From the original PR:

I've observed that linux apps running under the linuxulator
have a habit of leaving behind shared memory segments which
are unused, but which eventually cause the system to run
out of free segments and these apps will stop working.
ipcrm(1) currently only allows removal of unused message
queues, shared memory segments and semaphores on an individual
basis, or those having a matching (non-zero) key. However
it would often be convenient to just do a complete cleanup
of everything, usually as root.

PR: bin/118292
Submitted by: Callum Gibson <callumgibson@optusnet.com.au>
Not reviewed by: grog@
Approved by: grog@


# 174750 18-Dec-2007 edwin

Stylify ipcs/ipcs.c and ipcrm/ipcrm in preparation of the upcoming
changes as proposed in bin/118292.

Feel free to mention any I have missed, there is much to learn with
regarding to style(9).

Approved by: grog@


# 102944 04-Sep-2002 dwmalone

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by: md5


# 99112 30-Jun-2002 obrien

Consistently use FBSDID


# 95651 28-Apr-2002 markm

Add some function prototypes to squash warnings.


# 92920 21-Mar-2002 imp

remove __P


# 87285 03-Dec-2001 dwmalone

Warns cleanups:
Declare functions in advance of using them
There is no printf specifies %k - I think it was supposed to be %s.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 27420 15-Jul-1997 charnier

Add rcsid. Cosmetic in usage string. Typo in man page.


# 23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 8874 30-May-1995 rgrimes

Remove trailing whitespace.


# 2736 13-Sep-1994 dfr

Utility for deleting message queues, semaphores and shared memory segments.

Obtained from: NetBSD