1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-29 01:49:19 +00:00
C02/include/stdio.h02

36 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-01-28 18:30:49 +00:00
/*****************************************
* stdio - Standard I/O Routines for C02 *
*****************************************/
/* Read Character from Keyboard *
* Waits for Keypress *
* Returns: ASCII value of Key */
char getc();
2018-01-28 18:30:49 +00:00
/* Write Character to Screen *
* Args: c - ASCII character to write */
void putc();
2018-01-28 18:30:49 +00:00
/* Read String from Keyboard *
* Buffers string until C/R is pressed *
* Args: &s - string read from keyboard *
* Returns: length of string */
char gets();
2018-01-28 18:30:49 +00:00
/* Write String to Screen *
* Args: &s - string to print from *
* Returns: ending position in string */
char puts();
2018-01-28 18:30:49 +00:00
/* Write Partial String to Screen *
* Args: n - starting position in string *
* &s - string to print from *
* Returns: ending position in string */
char putsub();
2018-01-28 18:30:49 +00:00
/* Write String to Screen and Move *
* Cursor to Beginning of Next Line *
* Args: &s - string to print to screen *
* Returns: number of characters printed */
char putln();