IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 25, 2006, 12:42:37 PM (20 years ago)
Author:
jhoblitt
Message:

add psStringPrependV()
change psStringPrepend() to use psStringPrependV()
cleanup param checking in psStringAppend() & psStringAppendV()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psString.h

    r8598 r8607  
    1414 *  @author David Robbins, MHPCC
    1515 *
    16  *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2006-08-25 21:49:47 $
     16 *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2006-08-25 22:42:37 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    127127);
    128128
     129/** Prepends a format onto a string
     130 *
     131 * This function shall allocate a new string if dest is NULL.  dest shall be
     132 * automatically extended to the size of the new string.
     133 *
     134 * @return ssize_t:     The length of the new string (excluding '\0')
     135 */
     136ssize_t psStringPrependV(
     137    char **dest,                        ///< existing string
     138    const char *format,                 ///< format to append
     139    va_list ap                          ///< va_list of format arguments
     140);
     141
    129142/** Procedure to split the input string into a psList of psStrings.
    130143 *
Note: See TracChangeset for help on using the changeset viewer.