Home

root/library/getchar.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. getchar

#include "syscalls.h"

char getchar()
{
    char b[2];
    read(STDIN, b, 1);
    return b[0];
}

/* [<][>][^][v][top][bottom][index][help] */
Home