(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

LONG ReadLink (port , lock , path , buffer , size)

LOCATION
In DOSBase at offset 73

SYNOPSIS
struct MsgPort * port
BPTR lock
STRPTR path
STRPTR buffer
ULONG size

FUNCTION
Read the filename referred to by the soft-linked object contained in |path| (relative to the lock |lock|) into the buffer |buffer|. The variable |path| should contain the name of the object that caused the original OBJECT_IS_SOFT_LINK error.

INPUTS
port
The handler to send the request to.
lock
Object that |path| is relative to.
path
Name of the object that caused the error.
buffer
Buffer to fill with resolved filename.
size
Length of the buffer.

RESULT
!= 0 success == 0 failure, see IoErr() for more information.

EXAMPLE

SEE ALSO
MakeLink()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
02.01.1998 srittau
Fixed typos and warnings
01.01.1998 iaint
Some more simple DOS functions. These just call the f/s
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column