lkml.org 
[lkml]   [2000]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: proc suggestion
Ron Flory wrote:
>
> Wolter wrote:
> >
> > Make /proc work so that when you open files under it in binary mode you
> > get binary data better suited for programs and when in text mode, human
> > readable nicely formatted ascii text. Now wouldn't that be great?
>
> not a bad idea, but how would one export knowledge of the structure
> layouts for multiple-element files, /proc/sys/dev/cdrom/info for
> example.

duh.. the '-b' mode is ignored on *nix fopen(), read the manpage....

-
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.167 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site