home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:18303 comp.unix.ultrix:8863 comp.unix.programmer:5675
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!modus!systemy!oliver!ugo
- From: ugo@oliver.sublink.org (Ugo Cei)
- Newsgroups: comp.lang.c,comp.unix.ultrix,comp.unix.programmer
- Subject: Re: Error using strftime om Ultrix 4.2??
- Message-ID: <1992Dec12.131606.16998@oliver.sublink.org>
- Date: 12 Dec 92 13:16:06 GMT
- References: <1992Dec3.155811.29078@magnus.acs.ohio-state.edu>
- Organization: Oliver System - Pavia ITALY
- Lines: 12
-
- yhtao@magnus.acs.ohio-state.edu (Yu-Hui Tao) writes:
-
- > struct tm timenow;
-
- > strftime(ntime, 26, "%h %d %H:%M:%S %Y", timenow);
- ~~~~~~~
-
- You need to put the *address* of ``timenow'' there, i.e. ``& timenow''.
-
- --
- Ugo Cei --- Via Colombo 7 - 27100 Pavia - ITALY |
- -- Sublink: ugo@oliver.sublink.org | "Real programs dump core"
-