F´ Flight Software - C/C++ Documentation  NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FileStub.cpp File Reference
#include <FpConfig.hpp>
#include <Fw/Types/BasicTypes.hpp>
#include <Os/File.hpp>
#include <Fw/Types/Assert.hpp>
#include <Os/Stubs/FileStubs.hpp>
#include <cerrno>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Namespaces

 Os
 

Functions

void Os::registerReadInterceptor (ReadInterceptor funcPtr, void *ptr)
 
void Os::clearReadInterceptor (void)
 
void Os::registerWriteInterceptor (WriteInterceptor funcPtr, void *ptr)
 
void Os::clearWriteInterceptor (void)
 
void Os::registerOpenInterceptor (OpenInterceptor funcPtr, void *ptr)
 
void Os::clearOpenInterceptor (void)
 
void Os::registerSeekInterceptor (SeekInterceptor funcPtr, void *ptr)
 
void Os::clearSeekInterceptor (void)
 
void Os::setLastError (NATIVE_INT_TYPE error)
 

Variables

static ReadInterceptor Os::readInterceptor = 0
 
static void * Os::readInterceptorPtr = 0
 
static WriteInterceptor Os::writeInterceptor = 0
 
static void * Os::writeInterceptorPtr = 0
 
static OpenInterceptor Os::openInterceptor = 0
 
static void * Os::openInterceptorPtr = 0
 
static SeekInterceptor Os::seekInterceptor = 0
 
static void * Os::seekInterceptorPtr = 0
 
static NATIVE_INT_TYPE Os::lastError = 0