-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathc_putchar.c
46 lines (25 loc) · 846 Bytes
/
c_putchar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
///////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
//
void c_putchar_ ( int *c, int *istat )
{
*istat = putchar ( *c ) ;
}
/*
putchar - put a byte on a stdout stream
SYNOPSIS
#include <stdio.h>
int putchar(int c);
DESCRIPTION
[CX] [Option Start] The functionality described on this reference page is aligned with the ISO C standard. Any conflict between the requirements described here and the ISO C standard is unintentional. This volume of POSIX.1-2017 defers to the ISO C standard. [Option End]
The function call putchar(c) shall be equivalent to putc(c,stdout).
RETURN VALUE
Refer to fputc.
ERRORS
Refer to fputc.
The putchar() function shall be equivalent to getc(stdin).
RETURN VALUE
Refer to fgetc.
ERRORS
Refer to fgetc.
*/