test5.c File Reference

Tests struct I/O stuff. More...

#include <ppw_stdinc.h>
#include "ppw_test.h"

Classes

struct  stest

Functions

int main ()

Variables

size_t soffsets []
const char * STEST_FMT = "`BLAHZ`ilcSsi" "iiii"
const char * STEST_FMT_BAD = "`BLAZZ`ilcSsi" "iiii"
const char * s1 = "this is a test"
const char * s2 = "This is another test"


Detailed Description

Tests struct I/O stuff.

Author:
Adam Leko

Variable Documentation

size_t soffsets[]

Initial value:

 {
  ppw_offsetof(struct stest, a),
  ppw_offsetof(struct stest, b),
  ppw_offsetof(struct stest, by),
  ppw_offsetof(struct stest, str_len),
  ppw_offsetof(struct stest, str),
  ppw_offsetof(struct stest, sarr_len),
  ppw_offsetof(struct stest, sarr),
  ppw_offsetof(struct stest, c),
  ppw_offsetof(struct stest, d[0]),
  ppw_offsetof(struct stest, d[1]),
  ppw_offsetof(struct stest, d[2]),
  ppw_offsetof(struct stest, d[3])
}


Generated on Sat Sep 29 08:46:41 2012 for PPW by  doxygen 1.5.8