Subversion Repositories HelenOS

Rev

Rev 2787 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2787 Rev 4377
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup generic
29
/** @addtogroup generic
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#include <print.h>
35
#include <print.h>
36
int printf(const char *fmt, ...);
-
 
37
 
36
 
38
int printf(const char *fmt, ...)
37
int printf(const char *fmt, ...)
39
{
38
{
40
    int ret;
39
    int ret;
41
    va_list args;
40
    va_list args;
42
 
41
   
43
    va_start(args, fmt);
42
    va_start(args, fmt);
44
 
43
   
45
    ret = vprintf(fmt, args);
44
    ret = vprintf(fmt, args);
46
   
45
   
47
    va_end(args);
46
    va_end(args);
48
 
47
   
49
    return ret;
48
    return ret;
50
}
49
}
51
 
50
 
52
/** @}
51
/** @}
53
 */
52
 */