#include <sys/types.h>
#include <stdio.h>
Go to the source code of this file.
Typedefs | |
typedef off_t | portable_off_t |
Functions | |
int | portable_system (const char *command, const char *args, bool commandHasConsole=TRUE) |
uint | portable_pid () |
const char * | portable_getenv (const char *variable) |
void | portable_setenv (const char *variable, const char *value) |
void | portable_unsetenv (const char *variable) |
portable_off_t | portable_fseek (FILE *f, portable_off_t offset, int whence) |
portable_off_t | portable_ftell (FILE *f) |
char | portable_pathSeparator () |
char | portable_pathListSeparator () |
const char * | portable_ghostScriptCommand () |
const char * | portable_commandExtension () |
bool | portable_fileSystemIsCaseSensitive () |
FILE * | portable_popen (const char *name, const char *type) |
int | portable_pclose (FILE *stream) |
void * | portable_iconv_open (const char *tocode, const char *fromcode) |
size_t | portable_iconv (void *cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) |
int | portable_iconv_close (void *cd) |
Definition in file portable.h.
typedef off_t portable_off_t |
Definition at line 10 of file portable.h.
const char* portable_commandExtension | ( | ) |
Definition at line 344 of file portable.cpp.
Referenced by Config::check(), getMscImageMapFromFile(), and writeMscGraphFromFile().
bool portable_fileSystemIsCaseSensitive | ( | ) |
Definition at line 353 of file portable.cpp.
Referenced by Config::check(), Config::create(), and getFileFilter().
portable_off_t portable_fseek | ( | FILE * | f, | |
portable_off_t | offset, | |||
int | whence | |||
) |
Definition at line 299 of file portable.cpp.
Referenced by Store::alloc(), Store::read(), Store::release(), Store::seek(), and Store::write().
portable_off_t portable_ftell | ( | FILE * | f | ) |
Definition at line 308 of file portable.cpp.
Referenced by Store::alloc(), Store::end(), Store::read(), and Store::write().
const char* portable_getenv | ( | const char * | variable | ) |
Definition at line 294 of file portable.cpp.
Referenced by Config::check(), and writeDotGraphFromFile().
const char* portable_ghostScriptCommand | ( | ) |
size_t portable_iconv | ( | void * | cd, | |
const char ** | inbuf, | |||
size_t * | inbytesleft, | |||
char ** | outbuf, | |||
size_t * | outbytesleft | |||
) |
Definition at line 377 of file portable.cpp.
References CASTNEEDED.
Referenced by OutputGenerator::endPlainFile(), TranslatorDecoder::recode(), recodeString(), and transcodeCharacterStringToUTF8().
int portable_iconv_close | ( | void * | cd | ) |
Definition at line 393 of file portable.cpp.
Referenced by OutputGenerator::endPlainFile(), recodeString(), transcodeCharacterStringToUTF8(), and TranslatorDecoder::~TranslatorDecoder().
void* portable_iconv_open | ( | const char * | tocode, | |
const char * | fromcode | |||
) |
Definition at line 372 of file portable.cpp.
Referenced by OutputGenerator::endPlainFile(), recodeString(), transcodeCharacterStringToUTF8(), and TranslatorDecoder::TranslatorDecoder().
char portable_pathListSeparator | ( | ) |
char portable_pathSeparator | ( | ) |
Definition at line 317 of file portable.cpp.
Referenced by writeDotGraphFromFile(), and writeMscGraphFromFile().
int portable_pclose | ( | FILE * | stream | ) |
Definition at line 367 of file portable.cpp.
Referenced by FileDef::acquireFileVersion(), copyAndFilterFile(), fileToString(), and preprocessFile().
uint portable_pid | ( | ) |
FILE* portable_popen | ( | const char * | name, | |
const char * | type | |||
) |
Definition at line 362 of file portable.cpp.
Referenced by FileDef::acquireFileVersion(), copyAndFilterFile(), fileToString(), and preprocessFile().
void portable_setenv | ( | const char * | variable, | |
const char * | value | |||
) |
Definition at line 181 of file portable.cpp.
References environ.
Referenced by Config::check(), and writeDotGraphFromFile().
int portable_system | ( | const char * | command, | |
const char * | args, | |||
bool | commandHasConsole = TRUE | |||
) |
Definition at line 32 of file portable.cpp.
References environ, Debug::ExtCmd, Debug::print(), and QCString.
Referenced by Htags::execute(), FormulaList::generateBitmaps(), generateOutput(), getMscImageMapFromFile(), DotRunner::run(), writeDotGraphFromFile(), ClassDiagram::writeFigure(), DotClassGraph::writeGraph(), DotInclDepGraph::writeGraph(), DotCallGraph::writeGraph(), DotDirDeps::writeGraph(), DotGroupCollaboration::writeGraph(), and writeMscGraphFromFile().
void portable_unsetenv | ( | const char * | variable | ) |
Definition at line 260 of file portable.cpp.
References environ.
Referenced by writeDotGraphFromFile().