Added some c++ code to implment missing features from the std(c) implementation. not completed yet

This commit is contained in:
2012-08-06 14:38:09 +00:00
parent 785c95b1e6
commit 17a8a3039d
4 changed files with 50 additions and 30 deletions

View File

@ -126,14 +126,14 @@ protected:
const char_t* name, size_t len);
int system (Run& run, Value& ret, const Value* args, size_t nargs,
const char_t* name, size_t len);
int time (Run& run, Value& ret, const Value* args, size_t nargs,
const char_t* name, size_t len);
#if defined(QSE_CHAR_IS_WCHAR)
qse_cmgr_t* getcmgr (const char_t* ioname);
int setenc (Run& run, Value& ret, const Value* args, size_t nargs,
int setioattr (Run& run, Value& ret, const Value* args, size_t nargs,
const char_t* name, size_t len);
int unsetenc (Run& run, Value& ret, const Value* args, size_t nargs,
int getioattr (Run& run, Value& ret, const Value* args, size_t nargs,
const char_t* name, size_t len);
#endif
// pipe io handlers
int openPipe (Pipe& io);
@ -183,6 +183,12 @@ protected:
qse_htb_t cmgrtab;
bool cmgrtab_inited;
/* global variables */
int gbl_argc;
int gbl_argv;
int gbl_environ;
int gbl_procinfo;
/* standard input console - reuse runarg */
size_t runarg_index;
size_t runarg_count;