pintos/src/tests/internal/stdio.c File Reference

#include <limits.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "threads/test.h"

Go to the source code of this file.

Functions

static void checkf (const char *expect, const char *format,...)
void test (void)

Variables

static int failure_cnt


Function Documentation

static void checkf ( const char *  expect,
const char *  format,
  ... 
) [static]

Definition at line 23 of file stdio.c.

References failure_cnt, printf(), strcmp(), va_end, va_start, and vsnprintf().

Referenced by test().

void test ( void   ) 

Definition at line 45 of file stdio.c.

References checkf(), failure_cnt, and printf().


Variable Documentation

int failure_cnt [static]

Definition at line 20 of file stdio.c.

Referenced by checkf(), and test().


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6