core/builtins/gobble.cif
author Tom Sutcliffe <thomas.sutcliffe@accenture.com>
Thu, 26 Aug 2010 00:49:35 +0100
changeset 37 534b01198c2d
parent 0 7f656887cf89
child 58 377ac716dabb
permissions -rw-r--r--
Added ENotifyKeypresses and ECaptureCtrlC flags to CCommandBase. Commands can now get keypresses and handle ctrl-C via callbacks instead of having to implement custom active objects. As part of this extended the CCommandBase extension interface to MCommandExtensionsV2 for the new virtual functions KeyPressed(TUint aKeyCode, TUint aModifiers) and CtrlCPressed(). sudo now cleans up correctly by using ECaptureCtrlC.

# gobble.cif
# 
# Copyright (c) 2010 Accenture. All rights reserved.
# This component and the accompanying materials are made available
# under the terms of the "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
# 
# Initial Contributors:
# Accenture - Initial contribution
#

==name gobble

==short-description

A tool for purposefully wasting persistent storage space.

==long-description

If the specified file does not already exist, it will be created. If it does exist, it will be grown.

==see-also

L<leak|leak>

==option bool v verbose

Display more detailed output.

==argument filename file_name

The file to create or to append to.

==argument uint amount

The total number of bytes to consume.

==argument uint block_size optional

The maximum size of each write (in bytes). Defaults to 512.

==copyright

Copyright (c) 2007-2010 Accenture. All rights reserved.