[Coco] SysCall to get the Attr on a file or directory

Robert Gault robert.gault at att.net
Tue Feb 14 14:23:01 EST 2017

Taylor, Phillip L CIV wrote:
> Does anyone have a example of the syscall to get the attr file permissions
> on a file or a directory?
> Thanks

Your best bet probably is to study the source code for attr in the NitrOS-9 project. The code is not 
very simple but once a file is opened, SS.FD & I$GetStt read the attributes while SS.FD & I$SetStt 
set the attributes. That's over simplification so good luck. :)


More information about the Coco mailing list