How to find proc is mounted or not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How to find whether proc is mounted or sys is mounted using C libraries.

I found this file in kernel source tree which showed me some idea.

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.29.y.git;a=blob;f=drivers/acpi/battery.c;h=69cbc57c2d1cd248e7431bb40661e9ea139efbb7;hb=HEAD

But i just want to conform it whether it is correct or not.


Thanks,

Alagunambi Welkin
http://webattery.sf.net


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux