(C) 1998 AROS - The Amiga Research OS


NAME
#include <dos/dosextens.h>
#include <proto/dos.h>

LONG RemSegment (seg)

LOCATION
In DOSBase at offset 131

SYNOPSIS
struct Segment * seg

FUNCTION
Remove the segment seg from the DOS resident command list.

The segment to be removed should be in the list, and should have a usercount of 0. System or internal segment cannot be removed (although they can be replaced).

INPUTS
seg
Segment to remove.

RESULT
!= 0 Segment was removed == 0 Segment was not removed (not in list, or not free).

EXAMPLE

SEE ALSO
AddSegment(), FindSegment()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
01.01.1998 iaint
Segment functions
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column