Doxygen
|
Portable versions of functions that are platform dependent. 更多...
命名空间 | |
Portable | |
类型定义 | |
typedef off_t | portable_off_t |
函数 | |
int | Portable::system (const QCString &command, const QCString &args, bool commandHasConsole=true) |
unsigned int | Portable::pid () |
QCString | Portable::getenv (const QCString &variable) |
void | Portable::setenv (const QCString &variable, const QCString &value) |
void | Portable::unsetenv (const QCString &variable) |
portable_off_t | Portable::fseek (FILE *f, portable_off_t offset, int whence) |
portable_off_t | Portable::ftell (FILE *f) |
FILE * | Portable::fopen (const QCString &fileName, const QCString &mode) |
int | Portable::fclose (FILE *f) |
void | Portable::unlink (const QCString &fileName) |
QCString | Portable::pathSeparator () |
QCString | Portable::pathListSeparator () |
const char * | Portable::ghostScriptCommand () |
const char * | Portable::commandExtension () |
bool | Portable::fileSystemIsCaseSensitive () |
FILE * | Portable::popen (const QCString &name, const QCString &type) |
int | Portable::pclose (FILE *stream) |
void | Portable::sysTimerStart () |
void | Portable::sysTimerStop () |
double | Portable::getSysElapsedTime () |
void | Portable::sleep (int ms) |
bool | Portable::isAbsolutePath (const QCString &fileName) |
void | Portable::correct_path () |
Correct a possible wrong PATH variable 更多... | |
void | Portable::setShortDir () |
const char * | Portable::strnstr (const char *haystack, const char *needle, size_t haystack_len) |
const char * | Portable::devNull () |
bool | Portable::checkForExecutable (const QCString &fileName) |
size_t | Portable::recodeUtf8StringToW (const QCString &inputStr, uint16_t **buf) |
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) |
Portable versions of functions that are platform dependent.
在文件 portable.h 中定义.
typedef off_t portable_off_t |
在文件 portable.h 第 10 行定义.
size_t portable_iconv | ( | void * | cd, |
const char ** | inbuf, | ||
size_t * | inbytesleft, | ||
char ** | outbuf, | ||
size_t * | outbytesleft | ||
) |
int portable_iconv_close | ( | void * | cd | ) |
void* portable_iconv_open | ( | const char * | tocode, |
const char * | fromcode | ||
) |