KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
porthelper.h File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <kos.h>
#include <conio/conio.h>

Go to the source code of this file.

Macros

#define fprintf(a, fmt, args...)
 
#define printf(fmt, args...)
 
#define fgets(buf, len, a)
 
#define srandom(a)
 
#define err(a, b...)
 
#define errx(a, b...)
 

Functions

int getchar (void)
 

Macro Definition Documentation

◆ err

#define err ( a,
b... )
Value:
({ })

Referenced by exit_with_error(), instructions(), main(), and main().

◆ errx

#define errx ( a,
b... )
Value:
({ })

Referenced by pspeak(), rtrav(), and vocab().

◆ fgets

#define fgets ( buf,
len,
a )
Value:
({ conio_input_getline(1, buf, len); 1; })

Referenced by readstr().

◆ fprintf

◆ printf

#define printf ( fmt,
args... )
Value:
({ conio_printf(fmt, ## args); })

Referenced by __stack_chk_fail(), atomic_add_buffer(), basic_typing(), break_on_data_region_read(), break_on_instruction(), break_on_sequence(), break_on_sized_data_write_value(), break_on_sized_operand_region_access_value_range(), bug(), catchnull(), cdfs_test(), check_controller(), check_start(), check_switch(), checkhints(), ciao(), client_thread(), console_print(), convert(), copy_s3m(), cv_thd(), demo(), destructor(), done(), draw_icondata(), draw_one(), draw_str(), exit_with_error(), fdwarf(), filler_thd(), font_init(), fpscr_test(), get_button_states(), getin(), glTextureLoadPVR(), glTextureLoadPVR(), GPU_Stats(), handle_request(), hnd(), httpd(), inner_thd_func(), InputCallback(), kb_test(), kbd_readline(), lcd_test(), load_image(), load_image(), load_kmg(), load_pcx(), load_song_list(), load_texture(), loadtxr(), main(), main(), main(), main(), mouse_test(), mut_thd(), next_video_mode(), objload(), on_break(), on_key_event(), once_func(), play_s3m(), Grid::Print(), print_addrinfo(), print_rumble_fields(), printdir(), printIVarsForPerson(), rd_thd(), rdata(), read_input(), read_whole_txt_file(), reader0(), reader1(), render_png(), reserve_blocks(), rtrav(), run_iteration(), server_thread(), setup(), setup_pvr(), setup_pvr(), setup_util_texture(), sphere(), Start(), switch_tests(), text_init(), thd(), thd0(), thd1(), thd2(), thd_0(), thd_1(), thd_2(), thd_3(), thd_func(), thd_func(), thread(), thread_func(), trsay(), vmu_read_test(), wait_exit(), wait_exit(), wait_exit(), wait_exit(), wait_start(), wr_thd(), write_bg_descs(), write_bitmaps(), write_blank_inode_tables(), write_entry(), write_game_entry(), write_root_dir(), write_superblock(), write_superblocks(), writer0(), writer1(), yes(), and yesm().

◆ srandom

#define srandom ( a)
Value:
({ })

Referenced by main(), restore(), and save().

Function Documentation

◆ getchar()

int getchar ( void )

References buffer, buflen, bufptr, and have_buffer.

Referenced by ciao(), getin(), yes(), and yesm().