XINU
putchar.c
Go to the documentation of this file.
1 /* putchar.c - putchar */
2 
3 #include <xinu.h>
4 #include <stdio.h>
5 
6 /*------------------------------------------------------------------------
7  * putchar - C putchar function
8  *------------------------------------------------------------------------
9  */
10 int putchar(
11  int c
12  )
13 {
14  return fputc(c, stdout);
15 }
全てのシステムヘッダファイルをインクルードする。
#define stdout
Definition: stdio.h:16
int putchar(int c)
Definition: putchar.c:10
int32 fputc(int32, int32)
文字をデバイス(ファイル)に書き込む。
Definition: fputc.c:24