*** empty log message ***

This commit is contained in:
hyung-hwan 2007-02-28 09:57:13 +00:00
parent bc3c3b74f1
commit b8fb83234a
2 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdio.c,v 1.5 2007-02-24 14:45:00 bacon Exp $
* $Id: stdio.c,v 1.6 2007-02-28 09:57:12 bacon Exp $
*
* {License}
*/
@ -306,6 +306,17 @@ static ase_char_t* __adjust_format (const ase_char_t* format)
#endif
int ase_dprintf (const ase_char_t* fmt, ...)
{
int n;
va_list ap;
va_start (ap, fmt);
n = ase_vfprintf (stderr, fmt, ap);
va_end (ap);
return n;
}
FILE* ase_fopen (const ase_char_t* path, const ase_char_t* mode)
{
#if defined(_WIN32)

View File

@ -1,5 +1,5 @@
/*
* $Id: stdio.h,v 1.4 2007-02-23 10:53:39 bacon Exp $
* $Id: stdio.h,v 1.5 2007-02-28 09:57:13 bacon Exp $
*/
#ifndef _ASE_UTL_STDIO_H_
@ -44,6 +44,7 @@ int ase_fprintf (FILE* file, const ase_char_t* fmt, ...);
int ase_printf (const ase_char_t* fmt, ...);
#endif
int ase_dprintf (const ase_char_t* fmt, ...);
FILE* ase_fopen (const ase_char_t* path, const ase_char_t* mode);
FILE* ase_popen (const ase_char_t* cmd, const ase_char_t* mode);