AminetAminet
Search:
84734 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/c/emptyhandler-morphos.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:filehandler example, creates empty files
Author:Oliver Wagner
Type:dev/c
Version:1.0
Architecture:ppc-morphos
Date:2008-12-10
Download:dev/c/emptyhandler-morphos.lha - View contents
Readme:dev/c/emptyhandler-morphos.readme
Downloads:1783

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.

--

Recompiled for MorphOS by Ilkka Lehtoranta.


Contents of dev/c/emptyhandler-morphos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4524    4648  97.3% -lh5- 100c Dec 10 00:33 EmptyHandler.info
[generic]                 1029    2428  42.4% -lh5- 9a06 Dec  3 15:36 EmptyHandler/empty-handler
[generic]                  309     515  60.0% -lh5- 3daf Jul  3  1992 EmptyHandler/empty-handler.doc
[generic]                  641     734  87.3% -lh5- b040 Jul  3  1992 EmptyHandler/empty-handler.doc.info
[generic]                 1422    3271  43.5% -lh5- 06a1 Dec  3 15:36 EmptyHandler/empty.c
[generic]                  259     486  53.3% -lh5- 44e1 Dec  3 15:33 EmptyHandler/empty.h
[generic]                   86      91  94.5% -lh5- 620f Jul  3  1992 EmptyHandler/empty.mountlist
[generic]                  399     688  58.0% -lh5- 35ce Dec 10 00:39 EmptyHandler/emptyhandler-morphos.readme
[generic]                 7180    7320  98.1% -lh5- b0b0 Dec 10 00:40 EmptyHandler/emptyhandler-morphos.readme.info
[generic]                  457     805  56.8% -lh5- a5c6 Dec  3 15:10 EmptyHandler/makefile
[generic]                  590    1336  44.2% -lh5- ca7b Dec  3 15:33 EmptyHandler/misc.c
[generic]                  144     186  77.4% -lh5- e4e3 Jul  3  1992 EmptyHandler/ReadMe.fnf
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        12 files   17040   22508  75.7%            Dec  9 18:16
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>