Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

str.h File Reference

#include <string.h>

Include dependency graph for str.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

class  Str

Functions

char * __StrDup (const char *pStr)
char * __StrDup (char *pStr)

Variables

char * g_pStrWork = NULL


Function Documentation

char* __StrDup const char *  pStr  ) 
 

Definition at line 249 of file pakstuff.cpp.

References strcpy(), and strlen().

Referenced by Str::MakeEmpty(), OpenPK3(), Str::operator+=(), Str::operator=(), PakLoadAnyFile(), and Str::Str().

00250 { 
00251   if (pStr)
00252   {
00253     return strcpy(new char[strlen(pStr)+1], pStr); 
00254   }
00255   return NULL;
00256 }

Here is the call graph for this function:

char* __StrDup char *  pStr  ) 
 

Definition at line 240 of file pakstuff.cpp.

References strcpy(), and strlen().

00241 { 
00242   if (pStr)
00243   {
00244     return strcpy(new char[strlen(pStr)+1], pStr); 
00245   }
00246   return NULL;
00247 }

Here is the call graph for this function:


Variable Documentation

char* g_pStrWork = NULL [static]
 

Definition at line 36 of file str.h.

Referenced by Str::Left(), Str::Right(), and Str::~Str().


Generated on Thu Aug 25 16:29:27 2005 for Quake III Arena by  doxygen 1.3.9.1