tkernel_2/lib/libtm/src/_getstring.c | bare source | permlink (0.01 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * T-Kernel 2.0 Software Package 4: * 5: * Copyright 2011 by Ken Sakamura. 6: * This software is distributed under the latest version of T-License 2.x. 7: *---------------------------------------------------------------------- 8: * 9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17. 10: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01. 11: * 12: *---------------------------------------------------------------------- 13: */ 14: 15: /* 16: * @(#)_getstring.c (libtm) 17: */ 18: 19: #include <tm/tmonitor.h> 20: #include <sys/consio.h> 21: 22: EXPORT int _GetString( char *s ) 23: { 24: return tm_getline((UB*)s); 25: }