[Coco] OS9 C question

Bob Devries devries.bob at gmail.com
Tue Mar 12 21:03:35 EDT 2013


In the book "The Standard C Library" (P.J.Plauger) there is a file STDDEF.H 
(note *not* STDDEFS.H

Here is that file:

/* stddef.h standard header */
#ifndef _STDDEF
#define _STDDEF
#ifndef _YVALS
#include <yvals.h>
#endif
/* macros */
#define NULL _NULL
#define offsetof(T, number) ((_Sizet)&((T *)0)->member)
/* type definitions */
ifndef _SIZET
#define _SIZET
typedef _Sizet size_t;
#endif
#ifndef _WCHART
#define _WCHART
typedef _Wchart wchar_t;
#endif
typedef _Ptrdifft ptrdiff_t;
#endif

/* eof stddef.h */

I dunno if that helps...

Regards, Bob Devries
Dalby, QLD, Australia

----- Original Message ----- 
From: "Bill Pierce" <ooogalapasooo at aol.com>
To: <coco at maltedmedia.com>
Sent: Wednesday, March 13, 2013 9:00 AM
Subject: [Coco] OS9 C question


>
> Hi Guys,
> Does any know of a file named "stddefs.h"?
> I was trying to compile a utility source I found in the archives and it 
> requires this file. I have searched through all the stuff I have available 
> and can't find it. It seems (from the utility source) to contain some 
> macros that the program needs.
>
> Also, does anyone know how to set the OS9 key repeat? There must be a way 
> to do it as "Control" from multivue has a place to set the repeat speed 
> and start delay.
>
> Any help is appreciated... thanks
> Bill P
>
> Music from the Tandy/Radio Shack Color Computer 2 & 3
> https://sites.google.com/site/dabarnstudio/
> Bill Pierce
> ooogalapasooo at aol.com
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 




More information about the Coco mailing list