BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kstring_format - Format a string

LIBRARY CALL

char *kstring_format(
   const char *istr,
   const char *prepend,
   const char *append,
   int         format_width,
   int         ignore_cr,
   char       *ostr)

INPUT

OUTPUT

RETURN VALUE

ostr if it is not NULL, a pointer to the resulting kmalloc'ed string if it is NULL. NULL on an error.

DESCRIPTION

This routine formats a string.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

NOTE TO MARK this routine doesn't do anything, and it returns a bad pointer.. :) (stevej)

MODIFICATION

none

FILES

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

SEE ALSO

kutils(3)

COPYRIGHT

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