empty-handler
-------------
little filehandler for creating empty files of any given length. just
mount it via the provided mountlist:
mount empty: from empty.mountlist
then you can use an Open("EMPTY:<filelength_in_bytes>",...) to get a file
of length <filelength_in_bytes> filled up with lots of zeros...
e.g.
copy empty:424242 ram:x
will create a empty file of 424242 bytes in your ram-disk.
written by oliver wagner, hereby declared as public domain.
email: o.wagner()aworld-2.zer[.sub.org]
--
Ported to OS4 by Chris Young
Changed the mountlist to an OS3-style icon
Needs to be compiled with -nostartfiles
v1.1 - previous version didn't actually work, sorry.
- made a point of fixing the version string to be in the correct standard
-----BEGIN PGP MESSAGE-----
Version: 2.6.3in
iQB7AwUAQ+X0lrO1+24s2ZO5AQFnZgMqAgwC975xdi+efED1YGuRkjGne8D8kW+f
M0inPrJoTnbKcaiUmZ9XJmdsdVoxHHe3zfSd5Wm/NYN7IZAt0grLx1iJnyAOQu1D
CTbnI2vCb4DiiTJROphBP++bKH7hriw2RvUtdCTs
=fbuv
-----END PGP MESSAGE-----
| |