BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kfdup - duplicate an existing data transport stream

LIBRARY CALL

kfile *kfdup(
   kfile *file)

INPUT

OUTPUT

none

RETURN VALUE

The newly duplicated stream on success, NULL upon failure

DESCRIPTION

Duplicates an existing data transport stream. The "file" is entry in the process's transport descriptor table. The new entry returned kfdup() will be the lowest table entry.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/kstdio.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.