#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <float.h>
#include "CTB.hxx"
#include "CTB_Trace.hxx"
#include "CTBcstringBase.hxx"
#include "CTBnum.hxx"
Include dependency graph for CTBcstringBase.cxx:
Go to the source code of this file.
Functions | |
const char * | trim_to_buffer (const char *c_src, CTBint i_size, char *c_buf, CTBint i_bufsize) |
Definition in file CTBcstringBase.cxx.
|
Helper: copies to c_buf if substring, returns effective buffer pointer.
Simply c_src is returned if i_size is < 0. If i_size is >=0, the trimmed part of this substring is copied to the buffer c_buf with size i_bufsize. If the buffer is not larger enough a Definition at line 179 of file CTBcstringBase.cxx. Referenced by CTBcstringBase::Get().
|