added some convenience routines into sio

This commit is contained in:
2013-10-20 14:14:10 +00:00
parent abff341236
commit 8b0e522b27
9 changed files with 181 additions and 57 deletions

View File

@ -358,6 +358,26 @@ int qse_sio_movetoend (qse_sio_t* sio);
#endif
QSE_EXPORT int qse_openstdsios (void);
QSE_EXPORT void qse_closestdsios (void);
QSE_EXPORT qse_sio_t* qse_getstdout (void);
QSE_EXPORT qse_sio_t* qse_getstderr (void);
QSE_EXPORT qse_ssize_t qse_putmbsf (
const qse_mchar_t* fmt,
...
);
QSE_EXPORT qse_ssize_t qse_putwcsf (
const qse_wchar_t* fmt,
...
);
QSE_EXPORT qse_ssize_t qse_putstrf (
const qse_char_t* fmt,
...
);
#ifdef __cplusplus
}
#endif