Chameleon

Chameleon Svn Source Tree

Root/branches/cparm/i386/modules/Libstdio/puts.c

  • Property svn:executable set to *
1/**
2 * @file
3 * @brief Implements puts function.
4 *
5 * @date 14.02.10
6 * @author Eldar Abusalimov
7 */
8
9#include "stdio.h"
10#include "libsaio.h"
11
12
13void puts(const char *s) {
14char *ptr = (char*) s;
15while (*ptr) {
16putchar(*ptr++);
17}
18putchar('\n');
19}
20

Archive Download this file

Revision: 2154