cfl_platform.cpp File Reference

Platform dependant wrappers. More...

#include "cfl_definitions.h"
#include "cfl_platform.h"
#include <signal.h>
#include <exception>
#include <ostream>

Go to the source code of this file.

Functions

void faudes_invalid (const std::string &msg)
void faudes_termsignal (void(*sighandler)(int))
const char * faudes_strsignal (int sig)
void faudes_diffsystime (const faudes_systime_t &end, const faudes_systime_t &begin, faudes_systime_t *res)
void faudes_diffsystime (const faudes_systime_t &end, const faudes_systime_t &begin, faudes_mstime_t *res)
void faudes_sumsystime (const faudes_systime_t &begin, const faudes_systime_t &duration, faudes_systime_t *res)
void faudes_msdelay (faudes_mstime_t msecs, faudes_systime_t *end)
void faudes_usdelay (faudes_mstime_t usecs, faudes_systime_t *end)
int faudes_getsocket_error (int fd)
int faudes_setsocket_nonblocking (int fd, bool noblo)

Variables

const std::string faudes_pathseps_str = "/"
const std::string faudes_pathsep_str = "/"
faudes_systime_t gPerfTimer1

Detailed Description

Platform dependant wrappers.

Definition in file cfl_platform.cpp.

Function Documentation

void faudes_diffsystime ( const faudes_systime_t &  end,
const faudes_systime_t &  begin,
faudes_systime_t *  res 
)

Definition at line 114 of file cfl_platform.cpp.

void faudes_diffsystime ( const faudes_systime_t &  end,
const faudes_systime_t &  begin,
faudes_mstime_t *  res 
)

Definition at line 124 of file cfl_platform.cpp.

int faudes_getsocket_error ( int  fd)

Definition at line 167 of file cfl_platform.cpp.

void faudes_invalid ( const std::string &  msg)

Definition at line 34 of file cfl_platform.cpp.

void faudes_msdelay ( faudes_mstime_t  msecs,
faudes_systime_t *  end 
)

Definition at line 140 of file cfl_platform.cpp.

int faudes_setsocket_nonblocking ( int  fd,
bool  noblo 
)

Definition at line 185 of file cfl_platform.cpp.

const char* faudes_strsignal ( int  sig)

Definition at line 77 of file cfl_platform.cpp.

void faudes_sumsystime ( const faudes_systime_t &  begin,
const faudes_systime_t &  duration,
faudes_systime_t *  res 
)

Definition at line 130 of file cfl_platform.cpp.

void faudes_termsignal ( void(*)(int)  sighandler)

Definition at line 58 of file cfl_platform.cpp.

void faudes_usdelay ( faudes_mstime_t  usecs,
faudes_systime_t *  end 
)

Definition at line 150 of file cfl_platform.cpp.

Variable Documentation

const std::string faudes_pathsep_str = "/"

Definition at line 53 of file cfl_platform.cpp.

const std::string faudes_pathseps_str = "/"

Definition at line 52 of file cfl_platform.cpp.

faudes_systime_t gPerfTimer1

Definition at line 90 of file cfl_platform.cpp.

libFAUDES 2.28a --- 2016.09.13 --- c++ api documentaion by doxygen