Results 1 to 2 of 2
Hi,
I am trying to change the frequency governor through a C program by writing to a file in /cpufreq folder. I change the permission by using command chmod but ...
- 09-17-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 9
Problem in writing to a /sys file
Hi,
I am trying to change the frequency governor through a C program by writing to a file in /cpufreq folder. I change the permission by using command chmod but I am not able to write that file by using fprintf or fwrite functions.
Can anyone please tell me a method to write to that file through a C program.
Thank You.
- 09-17-2010 #2
I suggest you do some googling on sys filesystem
You can't just write to files in it


Reply With Quote