Hello everyone,
I need to change attributes of a file through a C program.I got file attributes using the stat structure.Now I need to set these attributes.What API's should I use?
Thank you
Hello everyone,
I need to change attributes of a file through a C program.I got file attributes using the stat structure.Now I need to set these attributes.What API's should I use?
Thank you
http://www.hmug.org/man/2/CHMOD.php
(Yes, that's the same name as the command-line tool).
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.