Tandy 1000 Programmer's Reference Manual page 115

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter
1 I
System Calls
Unlink
Delete a Directry Entry
Function Call 41H
Removes a directory
entry
associated with
a
specified
filename.
Entry Conditions:
AH
=
41H
DS:DX
=
pointer
to
p a t h n a m
Exit Conditions:
Carry set:
AX
=
error
code
Carry not set:
No error.
Error Returns:
AX
=
2
File not found. The path was invalid or not found.
AX
=
5
Access denied. The path was a directory or was read
only.
Example:
U n l i n k
eq"
41 H
Ids
d r , p a t h n a m e
mov
a h ,
U n l
i n k
i n t
21 H
113

Advertisement

Table of Contents
loading

Table of Contents