GNU Radio's DSD Package
testing::internal::posix Namespace Reference

Typedefs

typedef struct stat StatStruct

Functions

int FileNo (FILE *file)
int IsATTY (int fd)
int Stat (const char *path, StatStruct *buf)
int StrCaseCmp (const char *s1, const char *s2)
char * StrDup (const char *src)
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

◆ StatStruct

Function Documentation

◆ Abort()

void testing::internal::posix::Abort ( )
inline

References Abort().

Referenced by Abort().

◆ ChDir()

int testing::internal::posix::ChDir ( const char * dir)
inline

References ChDir().

Referenced by ChDir().

◆ Close()

int testing::internal::posix::Close ( int fd)
inline

References Close().

Referenced by Close().

◆ FClose()

int testing::internal::posix::FClose ( FILE * fp)
inline

References FClose().

Referenced by FClose().

◆ FDOpen()

FILE * testing::internal::posix::FDOpen ( int fd,
const char * mode )
inline

References FDOpen().

Referenced by FDOpen().

◆ FileNo()

int testing::internal::posix::FileNo ( FILE * file)
inline

References FileNo().

Referenced by FileNo().

◆ FOpen()

FILE * testing::internal::posix::FOpen ( const char * path,
const char * mode )
inline

References FOpen().

Referenced by FOpen().

◆ FReopen()

FILE * testing::internal::posix::FReopen ( const char * path,
const char * mode,
FILE * stream )
inline

References FReopen().

Referenced by FReopen().

◆ GetEnv()

const char * testing::internal::posix::GetEnv ( const char * name)
inline

References GetEnv().

Referenced by GetEnv().

◆ IsATTY()

int testing::internal::posix::IsATTY ( int fd)
inline

References IsATTY().

Referenced by IsATTY().

◆ IsDir()

bool testing::internal::posix::IsDir ( const StatStruct & st)
inline

References IsDir().

Referenced by IsDir().

◆ Read()

int testing::internal::posix::Read ( int fd,
void * buf,
unsigned int count )
inline

References Read().

Referenced by Read().

◆ RmDir()

int testing::internal::posix::RmDir ( const char * dir)
inline

References RmDir().

Referenced by RmDir().

◆ Stat()

int testing::internal::posix::Stat ( const char * path,
StatStruct * buf )
inline

References Stat().

Referenced by Stat().

◆ StrCaseCmp()

int testing::internal::posix::StrCaseCmp ( const char * s1,
const char * s2 )
inline

References StrCaseCmp().

Referenced by StrCaseCmp().

◆ StrDup()

char * testing::internal::posix::StrDup ( const char * src)
inline

References StrDup().

Referenced by StrDup().

◆ StrError()

const char * testing::internal::posix::StrError ( int errnum)
inline

References StrError().

Referenced by StrError().

◆ StrNCpy()

const char * testing::internal::posix::StrNCpy ( char * dest,
const char * src,
size_t n )
inline

References StrNCpy().

Referenced by StrNCpy().

◆ Write()

int testing::internal::posix::Write ( int fd,
const void * buf,
unsigned int count )
inline

References Write().

Referenced by Write().