home *** CD-ROM | disk | FTP | other *** search
- /*------------------------------------------------------------------------
- * filename - cputs.c
- *
- * function(s)
- * cputs - write a string to the console
- *-----------------------------------------------------------------------*/
-
- /*[]------------------------------------------------------------[]*/
- /*| |*/
- /*| Turbo C Run Time Library - Version 3.0 |*/
- /*| |*/
- /*| |*/
- /*| Copyright (c) 1987,1988,1990 by Borland International |*/
- /*| All Rights Reserved. |*/
- /*| |*/
- /*[]------------------------------------------------------------[]*/
-
- #include <conio.h>
- #include <string.h>
- #include <_video.h>
-
- /*----------------------------------------------------------------------*
-
- Name cputs - writes a string to the console
-
- Usage int cputs(const char *string)
-
- Prototype in conio.h
-
- Description writes the null-terminated string string to the console;
- it does not append a newline character.
-
- Return value nothing
-
- *-----------------------------------------------------------------------*/
-
- int cputs(const char * s)
- {
- return __cputn(s,strlen(s),0);
- }
-