Get netctl status from C?

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



I run dwm with a custom C program to update the status bar.

So far I can check everything without needing to exec(), e.g. through
libmpd, parsing /proc/meminfo, and so on.

Is there a way to interface with the netctl profile system from C? I
really just want to find the currently actively profile.

I pulled down the code for netctl with abs and it seems to amount
largely to shell scripts that will with stuff in /sys. It doesn't look
too daunting, but I'd prefer a native interface if one exists.

Thanks,

Daniel


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux