Re: proc suggestion

Brian Gerst (bgerst@quark.vpplus.com)
Thu, 17 Feb 2000 10:33:36 -0500


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?

Opening a file in binary or ASCII mode is a DOSism. Libc silently
ignores the "b" flag to fopen(), because it is irrelevant on Unix.

--

Brian Gerst

- 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/