Doxygen
portable.h 文件参考

Portable versions of functions that are platform dependent. 更多...

#include <stdio.h>
#include <sys/types.h>
#include <stdint.h>
#include "qcstring.h"
+ portable.h 的引用(Include)关系图:
+ 此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

 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 中定义.

类型定义说明

◆ portable_off_t

typedef off_t portable_off_t

在文件 portable.h10 行定义.

函数说明

◆ portable_iconv()

size_t portable_iconv ( void *  cd,
const char **  inbuf,
size_t *  inbytesleft,
char **  outbuf,
size_t *  outbytesleft 
)

◆ portable_iconv_close()

◆ portable_iconv_open()

void* portable_iconv_open ( const char *  tocode,
const char *  fromcode 
)