fpc/docs/linuxex/ex26.pp
1998-03-25 11:26:49 +00:00

14 lines
248 B
ObjectPascal

Program Example26;
{ Program to demonstrate the Access function. }
Uses linux;
begin
if Access ('/etc/passwd',W_OK) then
begin
Writeln ('Better check your system.');
Writeln ('I can write to the /etc/passwd file !');
end;
end.