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
This is a discussion on setting file attributes through a C program within the C Programming forums, part of the General Programming Boards category; Hello everyone, I need to change attributes of a file through a C program.I got file attributes using the stat ...
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.