LF OS
Hobby operating system for amd64 with high ambitions
Loading...
Searching...
No Matches
rw_hook.c File Reference

(475a4fe LLVM update: finally on 18.x!)

Go to the source code of this file.

Functions

int read_lfos (int file, char *ptr, int len)
 
int write_lfos (int file, char *ptr, int len)
 
int read (int file, char *ptr, int len)
 
int write (int file, char *ptr, int len)
 

Function Documentation

◆ read()

int read ( int  file,
char *  ptr,
int  len 
)

Definition at line 4 of file rw_hook.c.

References read_lfos().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read_lfos()

int read_lfos ( int  file,
char *  ptr,
int  len 
)

Definition at line 135 of file main.c.

References lfos_term_state::input_buffer_current, lfos_term_state::input_buffer_len, kbd_read(), memcpy(), and state.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write()

int write ( int  file,
char *  ptr,
int  len 
)

Definition at line 8 of file rw_hook.c.

References write_lfos().

+ Here is the call graph for this function:

◆ write_lfos()

int write_lfos ( int  file,
char *  ptr,
int  len 
)

Definition at line 154 of file main.c.

References state, lfos_term_state::vterm, and vterm_input_write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: