fd_to_file -- creates a file pointer from a descriptor.
Arguments
- fd
A file
descriptor as returned from fd_open.
- mode
A
string indicating the mode for the file:
"r" for read-only, "w"
for writable, "a" for
append.
Returns
t, if successful, otherwise nil.
Description
This function creates a file
pointer from a file descriptor.
Copyright 1995-2002 by
Cogent Real-Time Systems, Inc.