BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
ksprintf - print one or more arguments in the format specified to an output string.
LIBRARY CALL
int ksprintf(
char *string,
const char *format,
kvalist)
INPUT
- string - the output string in which to format the values
- format - the format in which to print the values
- kvalist - variable number of values to format and write
to the output file string. The format string
determines the data type of the value(s) to be
provided.
OUTPUT
none
RETURN VALUE
The number characters written to the output string.
DESCRIPTION
This function is a replacement for the system "sprintf"
call; however, ksprint() uses data transport mechanisms
to print the output string, in order to support distributed
computing.
The ksprintf() function converts, formats, and writes
its value parameters as specified by the format parameter
to the output string given. If there are insufficient
values for the format, the behavior is undefined;
if the format is exhausted while values remain, the excess
values are ignored.
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.