STRING(3)



NAME

     string


SYNOPSIS

     char *string (fmt, args)
     char *fmt;
     ... args


DESCRIPTION

     string is similar to sprintf but  returns  a  pointer  to  a
     newly allocated string of the right length.


FILES

     none


SEE ALSO

     printf(3), sprintf(3), strdup(3L).


DIAGNOSTICS


BUGS

     string allocates additional space every time it  is  called.
     If  it  is to be called a lot, you should use sprintf, or at
     least free(3) the strings after use.

     There is no man page for the local version of strdup.


HISTORY

     01-Mar-94  Phil Scherrer:  placed in SOI v 0.8.
     1994-03-01     SOI Version 0.8