Added a userland dprintf() export; the output is simply directed to stdout.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2968 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -333,3 +333,17 @@ system_time(void)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#endif /* unix */
|
#endif /* unix */
|
||||||
|
|
||||||
|
#ifdef __BEOS__
|
||||||
|
|
||||||
|
void
|
||||||
|
dprintf(const char *format, ...)
|
||||||
|
{
|
||||||
|
va_list args;
|
||||||
|
|
||||||
|
va_start(args, format);
|
||||||
|
vprintf(format, args);
|
||||||
|
va_end(args);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user