Changeset df747bd8 in mainline for uspace/app/getterm
- Timestamp:
- 2009-12-16T01:59:07Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c26eb39
- Parents:
- 47a350f
- Location:
- uspace/app/getterm
- Files:
-
- 7 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/getterm/Makefile.build
r47a350f rdf747bd8 41 41 42 42 SOURCES = \ 43 get vc.c \43 getterm.c \ 44 44 version.c 45 45 -
uspace/app/getterm/Makefile.common
r47a350f rdf747bd8 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 OUTPUT = get vc39 OUTPUT = getterm -
uspace/app/getterm/getterm.c
r47a350f rdf747bd8 27 27 */ 28 28 29 /** @addtogroup get vc GetVC29 /** @addtogroup getterm GetTerm 30 30 * @brief Console initialization task. 31 31 * @{ … … 44 44 static void usage(void) 45 45 { 46 printf("Usage: get vc <device> <path>\n");46 printf("Usage: getterm <terminal> <path>\n"); 47 47 } 48 48 -
uspace/app/getterm/getterm.h
r47a350f rdf747bd8 27 27 */ 28 28 29 /** @addtogroup get vc29 /** @addtogroup getterm 30 30 * @{ 31 31 */ … … 34 34 */ 35 35 36 #ifndef GET VC_H__37 #define GET VC_H__36 #ifndef GETTERM_H__ 37 #define GETTERM_H__ 38 38 39 39 #endif -
uspace/app/getterm/version.c
r47a350f rdf747bd8 27 27 */ 28 28 29 /** @addtogroup get vc29 /** @addtogroup getterm 30 30 * @{ 31 31 */ … … 37 37 #include <stdio.h> 38 38 #include <macros.h> 39 #include "get vc.h"39 #include "getterm.h" 40 40 #include "version.h" 41 41 … … 57 57 58 58 /** Print version information. */ 59 void version_print(const char * vc)59 void version_print(const char *term) 60 60 { 61 61 printf("HelenOS release %s (%s)%s%s\n", release, name, revision, timestamp); 62 printf("Running on %s (%s)\n", arch, vc);62 printf("Running on %s (%s)\n", arch, term); 63 63 printf("Copyright (c) 2001-2009 HelenOS project\n\n"); 64 64 } -
uspace/app/getterm/version.h
r47a350f rdf747bd8 27 27 */ 28 28 29 /** @addtogroup get vc29 /** @addtogroup getterm 30 30 * @{ 31 31 */ … … 37 37 #define VERSION_H__ 38 38 39 extern void version_print(const char * vc);39 extern void version_print(const char *term); 40 40 41 41 #endif
Note:
See TracChangeset
for help on using the changeset viewer.