diff options
Diffstat (limited to 'cpukit/libcsupport/src/putk.c')
-rw-r--r-- | cpukit/libcsupport/src/putk.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/putk.c b/cpukit/libcsupport/src/putk.c new file mode 100644 index 0000000000..d804cf05e8 --- /dev/null +++ b/cpukit/libcsupport/src/putk.c @@ -0,0 +1,30 @@ +/* + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include <rtems/bspIo.h> + +/* + * putk + * + * Kernel putk (e.g. puts) function requiring minimal infrastrure. + */ +void putk(const char *s) +{ + const char *p; + + for (p=s ; *p ; p++ ) + BSP_output_char(*p); + BSP_output_char('\n'); +} |