Missing define?

Larry Phillips lar3ry at sasktel.net
Tue Dec 19 17:32:19 UTC 2006


On 19 Dec 2006 at 16:22, Dave Mitchell wrote:

> On Tue, Dec 19, 2006 at 08:57:47AM -0600, Larry Phillips wrote:

> > 1. time_t does not seem to be defined anywhere in /usr/include/, yet it is used in a fair number of include files.

> I only have access to FC4, not FC3, but this seems to work:
> 
>     #include <stdio.h>
>     #include <time.h>
> 
>     main() {
> 	printf("%d %d\n", sizeof(time_t), sizeof(size_t));
>     }

Thanks. That seems to work. One of my problems is in trying to figure out what to include and in which order. Obviously, size_t 
and time_t are being defined, but for the life of me I could not find time_t. I figured out what I was doing wrong, so I finally found it.
I'll undoubtedly be back with further foolish errors.

Thanks again.

Larry
--
O Sibili, Si. Ergo Fortibus es in ero.
O Nobili! Deis Trux. Vatis inem? Causen Dux!




More information about the fedora-list mailing list