IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 6, 2005, 8:15:25 AM (21 years ago)
Author:
desonia
Message:

Bug #395 - consolidated psString functions introduced for psDB to psString.[ch]

File:
1 edited

Legend:

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

    r3264 r3866  
    1010 *  @author Eric Van Alst, MHPCC
    1111 *
    12  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-02-17 19:26:24 $
     12 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-05-06 18:15:25 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    1919#define PS_STRING_H
    2020
     21#include <sys/types.h>
    2122#include "psType.h"
    2223
     
    6768);
    6869
     70/** Appends a format onto a string
     71 *
     72 * This function shall allocate a new string if dest is NULL.  dest shall be
     73 * automatically extended to the size of the new string.
     74 *
     75 * @return The length of the new string (excluding '\0')
     76 */
     77
     78ssize_t psStringAppend(
     79    char **dest,                        ///< existing string
     80    const char *format,                 ///< format to append
     81    ...                                 ///< format arguments
     82);
     83
     84/** Prepends a format onto a string
     85 *
     86 * This function shall allocate a new string if dest is NULL.  dest shall be
     87 * automatically extended to the size of the new string.
     88 *
     89 * @return The length of the new string (excluding '\0')
     90 */
     91
     92ssize_t psStringPrepend(
     93    char **dest,                        ///< existing string
     94    const char *format,                 ///< format to append
     95    ...                                 ///< format arguments
     96);
     97
    6998/* @} */// Doxygen - End of SystemGroup Functions
    7099
Note: See TracChangeset for help on using the changeset viewer.