mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 07:07:41 +00:00
14
libc/buffer_io.h
Normal file
14
libc/buffer_io.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef _BUFFER_IO
|
||||
#define _BUFFER_IO
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
enum { __align_buffer, __dont_align_buffer };
|
||||
|
||||
void __convert_from_newlines(unsigned char* p, size_t* n);
|
||||
void __convert_to_newlines(unsigned char* p, size_t* n);
|
||||
void __prep_buffer(FILE*);
|
||||
int __load_buffer(FILE*, size_t* bytes_loaded, int alignment);
|
||||
int __flush_buffer(FILE*, size_t* bytes_flushed);
|
||||
|
||||
#endif // _BUFFER_IO
|
||||
Reference in New Issue
Block a user