added qse_awk_rtx_getxtnstd() and enhanced qse_awk_rtx_openstd()

This commit is contained in:
2009-02-27 06:55:05 +00:00
parent 651f6d2dfa
commit 3ca13066a9
7 changed files with 30 additions and 14 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: awk01.c 85 2009-02-26 10:56:12Z hyunghwan.chung $
* $Id: awk01.c 86 2009-02-26 12:55:05Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -63,7 +63,7 @@ int main ()
}
rtx = qse_awk_rtx_openstd (
awk,
awk, 0,
QSE_NULL, /* no console input */
QSE_AWK_RTX_OPENSTD_STDIO /* stdout for console output */
);

View File

@ -1,5 +1,5 @@
/*
* $Id: awk02.c 85 2009-02-26 10:56:12Z hyunghwan.chung $
* $Id: awk02.c 86 2009-02-26 12:55:05Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -78,7 +78,7 @@ int main ()
qse_fflush (QSE_STDOUT);
rtx = qse_awk_rtx_openstd (
awk,
awk, 0,
QSE_NULL, /* no console input */
QSE_AWK_RTX_OPENSTD_STDIO /* stdout for console output */
);

View File

@ -1,5 +1,5 @@
/*
* $Id: awk03.c 85 2009-02-26 10:56:12Z hyunghwan.chung $
* $Id: awk03.c 86 2009-02-26 12:55:05Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -77,7 +77,7 @@ int main ()
/* create a runtime context */
rtx = qse_awk_rtx_openstd (
awk,
awk, 0,
QSE_NULL, /* no console input */
QSE_AWK_RTX_OPENSTD_STDIO /* stdout for console output */
);

View File

@ -1,5 +1,5 @@
/*
* $Id: awk04.c 85 2009-02-26 10:56:12Z hyunghwan.chung $
* $Id: awk04.c 86 2009-02-26 12:55:05Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -67,7 +67,7 @@ int main ()
/* create a runtime context */
rtx = qse_awk_rtx_openstd (
awk,
awk, 0,
QSE_NULL, /* no console input */
QSE_AWK_RTX_OPENSTD_STDIO /* stdout for console output */
);