•  Back 
  •  GEMDOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileFsymlink()
Freadlink()                                                          GEMDOS

Syntax

LONG Freadlink( bufsiz, buf, name )
WORD bufsiz;
char *buf, *name;

Function      Freadlink() determines what file the specified symbolic link
              refers to.

Opcode        303 (0x12F)

Availability  Available when a 'MiNT' cookie with a version of at least
              0.90 exists.

Parameters    bufsiz specifies the length of buffer buf into which the
              original file pointed to by the symbolic link name is
              written.

Binding       pea      name
              pea      buf
              move.w   bufsiz,-(sp)
              move.w   #$12F,-(sp)
              trap     #1
              lea      12(sp),sp

Return Value  Freadlink() returns 0 if successful or a negative GEMDOS
              error code otherwise.

See Also      Fsymlink()