Index: asp3_tinet_ecnl_rx/trunk/ntshell/src/fdtable.c
===================================================================
--- asp3_tinet_ecnl_rx/trunk/ntshell/src/fdtable.c	(revision 349)
+++ asp3_tinet_ecnl_rx/trunk/ntshell/src/fdtable.c	(revision 359)
@@ -400,5 +400,5 @@
 		FD_SET(fd, (fd_set *)&flgptn);
 	}
-	if (rpor.wricnt < rpor.wbufsz) {
+	if (rpor.wricnt != 0) {
 		if (fp->writeevt_w == fp->writeevt_r) fp->writeevt_w++;
 
@@ -428,5 +428,5 @@
 		FD_SET(fd, (fd_set *)flgptn);
 	}
-	if (rpor.wricnt < rpor.wbufsz) {
+	if (rpor.wricnt != 0) {
 		if (fp->writeevt_w == fp->writeevt_r) fp->writeevt_w++;
 
Index: asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.c
===================================================================
--- asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.c	(revision 349)
+++ asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.c	(revision 359)
@@ -33,5 +33,5 @@
  *  の責任を負わない．
  * 
- *  @(#) $Id: net_misc.c 1497 2018-04-13 00:04:30Z coas-nagasima $
+ *  @(#) $Id$
  */
 
@@ -60,4 +60,7 @@
 #include "kernel_cfg.h"
 #include "tinet_cfg.h"
+#include "util/ntstdio.h"
+
+extern ntstdio_t ntstdio;
 
 T_DHCP4_CLI_CONTEXT *dhcp4_cli_initialize(ID tskid, ID cepid);
@@ -94,5 +97,5 @@
 
 	get_tid(&nc->tskid);
-	syslog(LOG_NOTICE, "[NET MISC:%d,%d] started.", nc->tskid, (ID)exinf);
+	ntstdio_printf(&ntstdio, "[NET MISC:%d,%d] started.", nc->tskid, (ID)exinf);
 
 	/* 初期化 */
@@ -102,5 +105,5 @@
 	ret = get_tim(&time);
 	if (ret != E_OK) {
-		syslog(LOG_NOTICE, "[NET MISC,%d] get_tim error: %7lu,%s",
+		ntstdio_printf(&ntstdio, "[NET MISC,%d] get_tim error: %7lu,%s",
 			nc->cepid, time / SYSTIM_HZ, itron_strerror(ret));
 		return;
@@ -116,5 +119,5 @@
 		error = tslp_tsk(timer);
 		if ((error != E_OK) && (error != E_TMOUT)) {
-			syslog(LOG_NOTICE, "[NET MISC,%d] tslp_tsk error: %s %d",
+			ntstdio_printf(&ntstdio, "[NET MISC,%d] tslp_tsk error: %s %d",
 				nc->cepid, itron_strerror(error), timer);
 			break;
@@ -123,5 +126,5 @@
 		ret = get_tim(&time);
 		if (ret != E_OK) {
-			syslog(LOG_NOTICE, "[NET MISC,%d] get_tim error: %s",
+			ntstdio_printf(&ntstdio, "[NET MISC,%d] get_tim error: %s",
 				nc->cepid, itron_strerror(ret));
 			break;
Index: asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.cfg
===================================================================
--- asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.cfg	(revision 349)
+++ asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.cfg	(revision 359)
@@ -33,5 +33,5 @@
  *  の責任を負わない．
  * 
- *  @(#) $Id: net_misc.cfg 1497 2018-04-13 00:04:30Z coas-nagasima $
+ *  @(#) $Id$
  */
 
Index: asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.h
===================================================================
--- asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.h	(revision 349)
+++ asp3_tinet_ecnl_rx/trunk/ntshell/src/net_misc.h	(revision 359)
@@ -33,5 +33,5 @@
  *  の責任を負わない．
  * 
- *  @(#) $Id: net_misc.h 1497 2018-04-13 00:04:30Z coas-nagasima $
+ *  @(#) $Id$
  */
 
Index: asp3_tinet_ecnl_rx/trunk/ntshell/src/ntp_cli.c
===================================================================
--- asp3_tinet_ecnl_rx/trunk/ntshell/src/ntp_cli.c	(revision 349)
+++ asp3_tinet_ecnl_rx/trunk/ntshell/src/ntp_cli.c	(revision 359)
@@ -33,5 +33,5 @@
  *  の責任を負わない．
  * 
- *  @(#) $Id: ntp_cli.c 1496 2018-04-12 11:59:40Z coas-nagasima $
+ *  @(#) $Id$
  */
 
@@ -50,4 +50,7 @@
 #include <t_syslog.h>
 #include "kernel_cfg.h"
+#include "util/ntstdio.h"
+
+extern ntstdio_t ntstdio;
 
 #endif	/* of #if defined(TARGET_KERNEL_ASP) */
@@ -276,5 +279,5 @@
 	}
 
-	syslog(LOG_NOTICE, "[NTP CLI,%d] recv time: %s .%09u",
+	ntstdio_printf(&ntstdio, "[NTP CLI,%d] recv time: %s .%09u\n",
 		nc->cepid, nc->buf, tp.tv_nsec);
 }
@@ -308,5 +311,5 @@
 		line = lookup_ipaddr(&nc->ipaddr6, NTP_SRV_URL, API_PROTO_IPV4);
 		if (line == NULL || !in6_is_addr_ipv4mapped(&nc->ipaddr6)) {
-			syslog(LOG_NOTICE, "[NTP CLI,%d] sleep %d.%03u[s], unknown host.",
+			ntstdio_printf(&ntstdio, "[NTP CLI,%d] sleep %d.%03u[s], unknown host.",
 				nc->cepid, SLP_ITV / SYSTIM_HZ, SLP_ITV % SYSTIM_HZ);
 			nc->timer = SLP_ITV;
@@ -316,5 +319,5 @@
 #else	/* of #if defined(SUPPORT_INET6) && defined(SUPPORT_INET4) */
 		if ((line = lookup_ipaddr(&nc->snd_rmt.ipaddr, NTP_SRV_URL, DEFAULT_API_PROTO)) == NULL) {
-			syslog(LOG_NOTICE, "[NTP CLI,%d] sleep %d.%03u[s], unknown host.",
+			ntstdio_printf(&ntstdio, "[NTP CLI,%d] sleep %d.%03u[s], unknown host.",
 				nc->cepid, SLP_ITV / SYSTIM_HZ, SLP_ITV % SYSTIM_HZ);
 			nc->timer = SLP_ITV;
@@ -420,5 +423,5 @@
 
 	if ((error = udp_snd_dat(nc->cepid, &nc->snd_rmt, ntp, len, TMO_NBLK)) != E_WBLK) {
-		syslog(LOG_NOTICE, "[NTP CLI,%d] udp_snd_dat error: %s",
+		ntstdio_printf(&ntstdio, "[NTP CLI,%d] udp_snd_dat error: %s",
 			nc->cepid, itron_strerror(error));
 		return error;
@@ -438,5 +441,5 @@
 	ret = get_tim(&time);
 	if (ret != E_OK) {
-		syslog(LOG_NOTICE, "[NTP CLI,%d] get_tim error: %s",
+		ntstdio_printf(&ntstdio, "[NTP CLI,%d] get_tim error: %s",
 			nc->cepid, itron_strerror(ret));
 		tp->tv_sec = 0;
@@ -458,5 +461,5 @@
 	ret = set_tim(time);
 	if (ret != E_OK) {
-		syslog(LOG_NOTICE, "[NTP CLI,%d] set_tim error: %s",
+		ntstdio_printf(&ntstdio, "[NTP CLI,%d] set_tim error: %s",
 			nc->cepid, itron_strerror(ret));
 	}
@@ -476,5 +479,5 @@
 	if (len < 0 && len != E_RLWAI) {
 		/* E_RLWAI 以外で、0 以下の場合は、エラーを意味している。*/
-		syslog(LOG_NOTICE, "[NTP CLI,%d] callback error: %s, fncd: %s", nc->cepid,
+		ntstdio_printf(&ntstdio, "[NTP CLI,%d] callback error: %s, fncd: %s", nc->cepid,
 			itron_strerror(len), in_strtfn(fncd));
 	}
@@ -483,5 +486,5 @@
 			if ((len = udp_rcv_dat(nc->cepid, &nc->rcv_rmt, &nc->ntp_msg, len, TMO_POL)) < 0)
 			{
-				syslog(LOG_NOTICE, "[NTP CLI,%d] udp_rcv_dat error: %s", nc->cepid,
+				ntstdio_printf(&ntstdio, "[NTP CLI,%d] udp_rcv_dat error: %s", nc->cepid,
 					itron_strerror(len));
 			}
@@ -515,5 +518,5 @@
 
 	get_tid(&nc->tskid);
-	syslog(LOG_NOTICE, "[NTP CLI:%d,%d] started.", nc->tskid, (ID)exinf);
+	ntstdio_printf(&ntstdio, "[NTP CLI:%d,%d] started.", nc->tskid, (ID)exinf);
 
 	/* 初期化 */
@@ -522,5 +525,5 @@
 	ret = get_tim(&time);
 	if (ret != E_OK) {
-		syslog(LOG_NOTICE, "[NTP CLI,%d] get_tim error: %7lu,%s",
+		ntstdio_printf(&ntstdio, "[NTP CLI,%d] get_tim error: %7lu,%s",
 			nc->cepid, time / SYSTIM_HZ, itron_strerror(ret));
 		return;
@@ -536,5 +539,5 @@
 		error = tslp_tsk(timer);
 		if ((error != E_OK) && (error != E_TMOUT)) {
-			syslog(LOG_NOTICE, "[NTP CLI,%d] tslp_tsk error: %s %d",
+			ntstdio_printf(&ntstdio, "[NTP CLI,%d] tslp_tsk error: %s %d",
 				nc->cepid, itron_strerror(error), timer);
 			break;
@@ -543,5 +546,5 @@
 		ret = get_tim(&time);
 		if (ret != E_OK) {
-			syslog(LOG_NOTICE, "[NTP CLI,%d] get_tim error: %s",
+			ntstdio_printf(&ntstdio, "[NTP CLI,%d] get_tim error: %s",
 				nc->cepid, itron_strerror(ret));
 			break;
Index: asp3_tinet_ecnl_rx/trunk/ntshell/src/ntp_cli.cfg
===================================================================
--- asp3_tinet_ecnl_rx/trunk/ntshell/src/ntp_cli.cfg	(revision 349)
+++ asp3_tinet_ecnl_rx/trunk/ntshell/src/ntp_cli.cfg	(revision 359)
@@ -33,5 +33,5 @@
  *  の責任を負わない．
  * 
- *  @(#) $Id: ntp_cli.cfg 1496 2018-04-12 11:59:40Z coas-nagasima $
+ *  @(#) $Id$
  */
 
Index: asp3_tinet_ecnl_rx/trunk/ntshell/src/ntp_cli.h
===================================================================
--- asp3_tinet_ecnl_rx/trunk/ntshell/src/ntp_cli.h	(revision 349)
+++ asp3_tinet_ecnl_rx/trunk/ntshell/src/ntp_cli.h	(revision 359)
@@ -33,5 +33,5 @@
  *  の責任を負わない．
  * 
- *  @(#) $Id: ntp_cli.h 1496 2018-04-12 11:59:40Z coas-nagasima $
+ *  @(#) $Id$
  */
 
Index: asp3_tinet_ecnl_rx/trunk/ntshell/src/syscall.c
===================================================================
--- asp3_tinet_ecnl_rx/trunk/ntshell/src/syscall.c	(revision 349)
+++ asp3_tinet_ecnl_rx/trunk/ntshell/src/syscall.c	(revision 359)
@@ -33,5 +33,5 @@
  *  の責任を負わない．
  *
- *  @(#) $Id: syscall.c 1530 2018-04-27 04:00:17Z coas-nagasima $
+ *  @(#) $Id$
  */
 #include "bits/syscall.h"
Index: asp3_tinet_ecnl_rx/trunk/ntshell/src/tinet_ntp_cli.cfg
===================================================================
--- asp3_tinet_ecnl_rx/trunk/ntshell/src/tinet_ntp_cli.cfg	(revision 349)
+++ asp3_tinet_ecnl_rx/trunk/ntshell/src/tinet_ntp_cli.cfg	(revision 359)
@@ -29,5 +29,5 @@
  *  接的または間接的に生じたいかなる損害に関しても，その責任を負わない．
  * 
- *  @(#) $Id: tinet_ntp_cli.cfg 1291 2017-07-20 02:51:05Z coas-nagasima $
+ *  @(#) $Id$
  */
 
