(index ("proccpuinfo" 0))
(def (sig (procedure "(proccpuinfo DESIRED-INFO [filename: FILENAME] [arch: ARCHITECTURE])" (id proccpuinfo))) (p "Where " (tt "DESIRED-INFO") " is one of the following:") (ul (li "'architecture") (li "'hardware-platform") (li "'frequency") (li "'bogomips") (li "'cache") (li "'cpus") (li "'cputype")) (p "and " (tt "FILENAME") " is an optional string containing the name of the file to read from instead of the default " (tt "\"/proc/cpuinfo\"")) (p "and " (tt "ARCHITECTURE") " is an optional string that will be used to interpret the cpuinfo file as if it was read on a different architecture.") (p "This procedure will return the desired entry from " (tt "\"/proc/cpuinfo\"") " or the given " (tt "FILENAME") ", or " (tt "#f") " if there is no such entry.") (p "Please see the " (link "http://www.nongnu.org/proccpuinfo/libproccpuinfo-guide.html" "libproccpuinfo documentation") " for more information."))
