summaryrefslogtreecommitdiff
path: root/src/stdio/putchar.c
blob: cb12ec0cf566c74a11dbef50d444cd0806939447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

/** write a character to stdout **/
int putchar(int c)
{
	/*
	RETURN_SUCCESS(c);
	RETURN_FAILURE(CONSTANT(EOF));
	*/
	return putc(c, stdout);
}

/***
writes the character ARGUMENT(c) (converted to an TYPE(unsigned char)) to
IDENTIFIER(stdout).
***/
/*
STDC(1)
*/