[Coco] Syscall to get attr file permissions

Taylor, Phillip L CIV Phillip.L.Taylor at uscg.mil
Tue Feb 14 14:34:11 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?


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. :)


I read the manual but I am unable to figure out how to point A to the file 
name /dd/cmds/test.  I learn better if I can see some example code please?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5379 bytes
Desc: not available
URL: <https://pairlist5.pair.net/pipermail/coco/attachments/20170214/50a56bd0/attachment.bin>

More information about the Coco mailing list