File:  [MW Coherent from dump] / coherent / a / usr / include.b4ps2 / stddef.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/* (-lgl
 * 	COHERENT Version 3.2
 * 	Copyright (c) 1982, 1991 by Mark Williams Company.
 * 	All rights reserved. May not be copied without permission.
 -lgl) */
/*
 * stddef.h
 * C common definition header.
 * Draft Proposed ANSI C Standard, Section 4.1.5, 5/13/88 draft.
 */

#ifndef	_STDDEF_H
#define	_STDDEF_H

/* Types. */
#ifndef	_PTRDIFF_T
#define	_PTRDIFF_T
#if	_LARGE
typedef	long		ptrdiff_t;	/* pointer difference type	*/
#else
typedef	int		ptrdiff_t;	/* pointer difference type	*/
#endif
#endif

#ifndef	_SIZE_T
#define	_SIZE_T
typedef	unsigned int	size_t;		/* sizeof result type		*/
#endif

#ifndef	_WCHAR_T
#define	_WCHAR_T
typedef	char		wchar_t;	/* extended character set type	*/
#endif

/* Macros. */
#ifndef	NULL
#define	NULL	((char *)0)		/* null pointer constant	*/
#endif
#ifndef	Void
#define	Void	char		/* Use "Void *" as generic pointer type	*/
#endif

#define offsetof(s,id)	((size_t)&(((s *)0)->id))
				/* offset of member id in struct s	*/

#endif

/* end of stddef.h */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.