Newer
Older
ubixos / src / lib / libc / stdio / printf.c
@reddawg reddawg on 28 May 2002 540 bytes Its Been lots of work
/**************************************************************************************
 Copyright (c) 2002 The UbixOS Project
 All rights reserved.

 Redistribution and use in source and binary forms, with or without modification,
 are prohibited.

 $Id$

**************************************************************************************/

#include <stdio.h>
#include <stdarg.h>

int printf(char const *fmt, ...) {
  int retVal;
  vaList ap;
  vaStart(ap, fmt);
  retVal = vfprintf(stdout, fmt, ap);
  vaEnd(ap);
  return(retVal);
  }