Initial Import from SVN

This commit is contained in:
Matt Jenkins
2014-04-09 14:27:18 +01:00
parent 8976e834c4
commit 895f96d2f7
3153 changed files with 748589 additions and 0 deletions

9
include/struct.h Normal file
View File

@@ -0,0 +1,9 @@
/* struct.h 4.1 83/05/03 */
/*
* access to information relating to the fields of a structure
*/
#define fldoff(str, fld) ((int)&(((struct str *)0)->fld))
#define fldsiz(str, fld) (sizeof(((struct str *)0)->fld))
#define strbase(str, ptr, fld) ((struct str *)((char *)(ptr)-fldoff(str, fld)))