OurOS 0.1
Operating System built by McGill Students
 
Loading...
Searching...
No Matches
io.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* putchar) (char)
 Function type for printing a character.
 
typedef char(* getchar) (void)
 Function type for getting a character.
 

Functions

void putchars (putchar, const char *)
 Writes a string of characters to the console.
 

Typedef Documentation

◆ getchar

typedef char(* getchar) (void)

Function type for getting a character.

Returns
A character.

◆ putchar

typedef void(* putchar) (char)

Function type for printing a character.

Function Documentation

◆ putchars()

void putchars ( putchar  putc,
const char *  str 
)

Writes a string of characters to the console.

Parameters
putcThe putchar function.
strString to be written.