a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Resources:
 disk.resource
  AllocUnit
  FreeUnit
  GetUnit
  GetUnitID
  GiveUnit
  ReadUnitID
Include
GuruMeditation
Docs » Autodocs » disk.resource » FreeUnit

NAME

       FreeUnit - deallocate the disk

SYNOPSIS

       FreeUnit( unitNum ), DRResource
D0 A6
void FreeUnit(LONG);

FUNCTION

	This routine deallocates one of the units of the disk.  It should
be called when done with the disk. Do not call it if you did
no successfully allocate the disk (there is no protection -- you
will probably crash the disk system).

INPUTS

	unitNum -- a legal unit number (zero through three)

RESULT

   EXCEPTIONS

SEE ALSO

FreeUnit()

BUGS

	Doesn't check if you own the unit, or even if anyone owns it.

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Horizon

AFL
HZ
ANA
TRSI

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se