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

nlist() and MiNT itself.

>PS. If you're wondering what info I'm trying to find.. I've added uptime and
>load averages to my version of MiNT 1.09 (I'll post the diffs once I know
>it's working properly). At the moment the only way I can see the
>loadaverages is to press ctrl-alt-F6.. it's a right pain.

Why don't you implement a system call (say Sloadavg()) to retrieve the
information?  This method has the advantage of not requiring read
permission on any special files.

entropy -- it's not just a good idea, it's the second law.
Personal mail:      entropy@gnu.ai.mit.edu
MiNT library mail:  entropy@terminator.rs.itd.umich.edu