BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kgetc - get character from khoros transport

LIBRARY CALL

int kgetc(
  kfile *file)

INPUT

OUTPUT

none

RETURN VALUE

returns the character read or EOF upon error.

DESCRIPTION

This function is a replacement for the system getc() routine. The only difference is that kgetc() supports all available transport mechanisms. The routine will get a single character from the specified transport. If the character could not be read, EOF is returned; otherwise, the character that is read is returned.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/include/kutils/kfile.h

SEE ALSO

kutils(3)

COPYRIGHT

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