summaryrefslogtreecommitdiffstats
path: root/usr.bin/ipcrm/ipcrm.c
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability to clean up all shared memory segments which areedwin2007-12-251-16/+131
| | | | | | | | | | | | | | | | | | | | | 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@
* Stylify ipcs/ipcs.c and ipcrm/ipcrm in preparation of the upcomingedwin2007-12-181-99/+116
| | | | | | | | | 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@
* ANSIify function definitions.dwmalone2002-09-041-20/+5
| | | | | | | | | 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
* Consistently use FBSDIDobrien2002-06-301-4/+2
|
* Add some function prototypes to squash warnings.markm2002-04-281-0/+6
|
* remove __Pimp2002-03-221-5/+5
|
* Warns cleanups:dwmalone2001-12-031-2/+8
| | | | | Declare functions in advance of using them There is no printf specifies %k - I think it was supposed to be %s.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add rcsid. Cosmetic in usage string. Typo in man page.charnier1997-07-151-6/+11
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Utility for deleting message queues, semaphores and shared memory segments.dfr1994-09-131-0/+172
Obtained from: NetBSD
OpenPOWER on IntegriCloud