1 /*
2  * Copyright (C) 2006 KPIT Cummins
3  * Copyright (C) 2009 Conny Marco Menebröcker
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms is permitted
7  * provided that the above copyright notice and following paragraph are
8  * duplicated in all such forms.
9  *
10  * This file is distributed WITHOUT ANY WARRANTY; without even the implied
11  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12  */
puts(const char * s)13 int puts(const char *s)
14 {         /*  Print string Function   */
15 
16     int a;
17     while ((a = *s++))
18         putchar(a);
19     return putchar('\n');
20 }
21 
22