1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-22 16:34:15 +00:00
C02/include/stdio.h02
2018-02-02 16:33:57 -05:00

36 lines
1.1 KiB
Plaintext

/*****************************************
* stdio - Standard I/O Routines for C02 *
*****************************************/
/* Read Character from Keyboard *
* Waits for Keypress *
* Returns: ASCII value of Key */
char getc();
/* Write Character to Screen *
* Args: c - ASCII character to write */
void putc();
/* Read String from Keyboard *
* Buffers string until C/R is pressed *
* Args: &s - string read from keyboard *
* Returns: length of string */
char gets();
/* Write String to Screen *
* Args: &s - string to print from *
* Returns: ending position in string */
char puts();
/* Write Partial String to Screen *
* Args: n - starting position in string *
* &s - string to print from *
* Returns: ending position in string */
char putsub();
/* 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();