F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
FileStub.cpp File Reference
#include <FpConfig.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 <cstring>
#include <cstdio>

Go to the source code of this file.

Namespaces

namespace  Os
 

Functions

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

Variables

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