Typedefs | Functions
testing::internal::posix Namespace Reference

Typedefs

typedef struct _stat StatStruct

Functions

int IsATTY (int fd)
int StrCaseCmp (const char *s1, const char *s2)
char * StrDup (const char *src)
int FileNo (FILE *file)
int Stat (const char *path, StatStruct *buf)
int RmDir (const char *dir)
bool IsDir (const StatStruct &st)
const char * StrNCpy (char *dest, const char *src, size_t n)
int ChDir (const char *dir)
FILE * FOpen (const char *path, const char *mode)
FILE * FReopen (const char *path, const char *mode, FILE *stream)
FILE * FDOpen (int fd, const char *mode)
int FClose (FILE *fp)
int Read (int fd, void *buf, unsigned int count)
int Write (int fd, const void *buf, unsigned int count)
int Close (int fd)
const char * StrError (int errnum)
const char * GetEnv (const char *name)
void Abort ()

Typedef Documentation


Function Documentation

int testing::internal::posix::StrCaseCmp ( const char *  s1,
const char *  s2 
)
char * testing::internal::posix::StrDup ( const char *  src)
int testing::internal::posix::FileNo ( FILE *  file)
int testing::internal::posix::Stat ( const char *  path,
StatStruct *  buf 
)
int testing::internal::posix::RmDir ( const char *  dir)
bool testing::internal::posix::IsDir ( const StatStruct &  st)
const char* testing::internal::posix::StrNCpy ( char *  dest,
const char *  src,
size_t  n 
)
int testing::internal::posix::ChDir ( const char *  dir)
FILE* testing::internal::posix::FOpen ( const char *  path,
const char *  mode 
)
FILE* testing::internal::posix::FReopen ( const char *  path,
const char *  mode,
FILE *  stream 
)
FILE* testing::internal::posix::FDOpen ( int  fd,
const char *  mode 
)
int testing::internal::posix::Read ( int  fd,
void buf,
unsigned int  count 
)
int testing::internal::posix::Write ( int  fd,
const void buf,
unsigned int  count 
)
const char* testing::internal::posix::StrError ( int  errnum)
const char* testing::internal::posix::GetEnv ( const char *  name)