2 blkfree - free memory allocated to named block
8 val named block, string, or integer
13 If val is a named block, or the name of a named block, or the
14 identifying index for a named block, blkfree(val) frees the
15 memory block allocated to this named block. The block remains
16 in existence with the same name, identifying index, and chunksize,
17 but its size and maxsize becomes zero and the pointer for the start
18 of its data block null.
20 A new block of memory may be allocated to a freed block B by
21 blk(B [, len, chunk]), len defaulting to zero and chunk to the
22 chunksize when the block was freed.
27 ; B2 = blk("Second block")
42 chunksize = 256, maxsize = 0, datalen = 0
48 chunksize = 256, maxsize = 256, datalen = 8
60 ## Copyright (C) 1999 Landon Curt Noll
62 ## Calc is open software; you can redistribute it and/or modify it under
63 ## the terms of the version 2.1 of the GNU Lesser General Public License
64 ## as published by the Free Software Foundation.
66 ## Calc is distributed in the hope that it will be useful, but WITHOUT
67 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
68 ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
69 ## Public License for more details.
71 ## A copy of version 2.1 of the GNU Lesser General Public License is
72 ## distributed with calc under the filename COPYING-LGPL. You should have
73 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
74 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
76 ## @(#) $Revision: 30.1 $
77 ## @(#) $Id: blkfree,v 30.1 2007/03/16 11:10:42 chongo Exp $
78 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/blkfree,v $
80 ## Under source code control: 1997/04/05 13:07:13
81 ## File existed as early as: 1997
83 ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
84 ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/