[
Lists Home |
Date Index |
Thread Index
]
On Thu, Jan 22, 2004 at 02:03:36AM -0500, Adam Turoff wrote:
> On Wed, Jan 21, 2004 at 09:55:34PM -0800, Tim Bray wrote:
> > So, *why* do you want to serialize it? To write it to a file or down a
> > pipe to some other process, I'd say.
>
> Or a remote process through a socket. Or stuffing into a database/DBM file.
+1.
Using file descriptors (under Unix) and Handles (under Windows)
hides the distinction between files, pipes, sockets, etc.
I suppose one can always use fdopen(3C), for example, to convert
the descriptors created by pipe(2) into FILE*s, but...
M.
|