Stat mod time

From: Matt Read (
Date: 09/07/94

Ok, thanks for all the help - things were looking good until...

This is the code I've got:

struct stat *statbuf;
time_t modified_time;

stat(MOTD_FILE, statbuf);
modified_time = statbuf.st_mtime;          /* this is line 1722 in the code */

And this is the error message I get:

interpreter.c:1722: request for member `st_mtime' in something not a structure or union

I get the feeling that it's something really obvious that I'd would have
noticed before my 3 weeks holiday away from C and computers...but at the 
moment, someone else is gonna have to do my dirty work for me.
	Thanks, Free.

This archive was generated by hypermail 2b30 : 12/07/00 PST