OS4 DepotLogo by DBAlex 
(anonymous IP: 34.239.160.86,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (333)
   o Datatype (50)
   o Demo (195)
   o Development (566)
   o Document (21)
   o Driver (96)
   o Emulation (143)
   o Game (934)
   o Graphics (485)
   o Library (105)
   o Network (221)
   o Office (60)
   o Utility (868)
   o Video (65)

Total files: 4142

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Utility » crash.lha

Crash

Description: "Safely" crashes with purpose - C source included
Download: crash.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 3kb
Version: 1.2
Date: 23 Jul 21
Author: Marko K. Seppänen
Submitter: Marko Seppänen
Homepage: http://www.m4rko.com/amiga
Category: development/utility
Replaces: development/utility/crash.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 11765
 
Images:
 
Videos:
Comments: 5
Snapshots: 0
Videos: 0
Downloads:  (Current version)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
Crash - 1.2 + source with makefile
===========

Warning: This program will crash with purpose!

A small and simple command that "safely" crashes, by writing to address 0
that is protected and guaranteed never written to.

Why would you want a program that crashes?

I for example, sometimes need a "safe" way to crash a program so I can check
where the error output is going, etc etc.

C source code included with a makefile.


Installation
------------
1. Unarchive the package.
2. Just copy the file Crash in the Crash drawer to your C:
3. Done.


Compiling the Source
--------------------
1. Open Shell.
2. Locate the drawer where you did put Crash and cd into the src/ drawer.
3. Write the folling in Shell:
     1> make


Changes
-------
Version 1.2: (2021 Jun)
  - Added a warning that is printed out.
  - Added a countdown of 3 seconds (so the user has a chance to abort).
  - Updated the Makefile.
Version 1.1: (2021 Jun)
  - Fixed the makefile to make a release including the source code.
  - Fixed the makefile to clean (delete) correctly.
Version 1.0: (2014 May)
  - Initial release.


Author
------
Marko K. Seppänen


Homepage
--------
http://m4rko.com/amiga



Copyright (c) 2004-2021 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment