GitOS
Operating system exercise
Loading...
Searching...
No Matches
PipeFS Class Reference

#include <PipeFS.hpp>

Public Member Functions

 PipeFS (size_t buffer_size)
 
filesystemget_struct ()
 
uint32_t get_buffer_size ()
 
int read (uint32_t size, char *out)
 
int write (const char *data, uint32_t size)
 

Constructor & Destructor Documentation

◆ PipeFS()

PipeFS ( size_t  buffer_size)

References kzalloc().

Member Function Documentation

◆ get_buffer_size()

uint32_t get_buffer_size ( )

◆ get_struct()

◆ read()

int read ( uint32_t  size,
char *  out 
)

References memcpy(), and size.

◆ write()

int write ( const char *  data,
uint32_t  size 
)

References data, memcpy(), and size.


The documentation for this class was generated from the following files: