source: CIVL/include/headers/stddef.h@ 1aaefd4

main test-branch
Last change on this file since 1aaefd4 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 454 bytes
RevLine 
[aad342c]1/* The stddef.h header defines various variable types and macros.
2Many of these definitions also appear in other headers. */
3#ifndef _STDDEF_
4#define _STDDEF_
5
6/* Types */
7typedef signed long int ptrdiff_t;
8
9typedef unsigned long int size_t;
10
11typedef struct max_align_t max_align_t;
12
13typedef long int wchar_t;
14
15/* Macros */
16#ifndef NULL
17 #define NULL ((void*)0)
18#endif
19
20#define offsetof(st, m) ((size_t) ( (char *)&((st *)(0))->m - (char *)0 ))
21
22#endif
Note: See TracBrowser for help on using the repository browser.