XINU
lib
fputc.c
Go to the documentation of this file.
1
6
extern
int
putc
(
int
,
char
);
8
9
#ifndef SYSERR
10
#define SYSERR (-1)
12
#endif
13
#ifndef EOF
14
#define EOF (-2)
16
#endif
17
24
int
fputc
(
int
c,
int
dev)
25
{
26
if
(
SYSERR
== (
int
)
putc
(dev, c))
27
{
28
return
EOF
;
29
}
30
else
31
{
32
return
c;
33
}
34
}
putc
int putc(int, char)
文字を書き込むputc()のextern宣言
Definition:
putc.c:18
fputc
int fputc(int c, int dev)
文字をデバイス(ファイル)に書き込む。
Definition:
fputc.c:24
EOF
#define EOF
End Of Fileを示す値
Definition:
fputc.c:15
SYSERR
#define SYSERR
システムエラーを示す値
Definition:
fputc.c:11
Generated by
1.8.13