lkml.org 
[lkml]   [2000]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: What /proc should contain [was: /proc/driver/microcode]

Preface this with the obligatory "I am not a kernel hacker. If this
message is stupid, just ignore me."

Regarding parsing /proc files, has anyone thought of a file format which
contains a parsing specification ? For example a scanf format string.

Eg:

$ cat /proc/somefile
%d %d %f %s
12 45 8.4 Some String

Scanf may not be the best way to do this, but you get the idea.

-- Pat

--
This message does not represent the policies or positions
of the Mayo Foundation or its subsidaries.
Patrick Spinler email: Spinler.Patrick@Mayo.EDU
Mayo Foundation phone: 507/284-9485

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.056 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site