Re: Stat mod time

From: Mathue Moyer (mmoyer@sdcc10.UCSD.EDU)
Date: 09/07/94

>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

*grin*  statbuf is a pointer to a stat struct, not the struct itself.
Indeed, an error most likely caused by prolonged vacation.  ;)

-Mathue Moyer

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