MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / __prep_buffer

Function __prep_buffer

src/PowerPC_EABI_Support/src/MSL_C/MSL_Common/buffer_io.c:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void __prep_buffer(FILE *file)
19{
20 file->mBufferPtr = file->mBuffer;
21 file->mBufferLength = file->mBufferSize;
22 file->mBufferLength = file->mBufferLength - (file->mPosition & file->mBufferAlignment);
23 file->mBufferPosition = file->mPosition;
24 return;
25}
26
27int __flush_buffer(FILE *file, size_t *length)
28{

Callers 2

__fwriteFunction · 0.85
__flush_bufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected