+ Corrected example

This commit is contained in:
michael 2000-07-11 06:19:27 +00:00
parent 4fb6b31739
commit 4d006e2dcb

View File

@ -7,7 +7,7 @@ Uses linux;
Var Info : Stat;
begin
if FStat (paramstr(1),info) then
if LStat (paramstr(1),info) then
begin
if S_ISLNK(info.mode) then
Writeln ('File is a link');