Article View: comp.lang.misc
Article #967Re: Relationship between C and C++
From: lawrence.g.mayka
Date: Fri, 23 Mar 1990 03:16
Date: Fri, 23 Mar 1990 03:16
20 lines
1048 bytes
1048 bytes
In article <970@mti.mti.com> adrian@mti.UUCP (Adrian McCarthy) writes: >Exercise for the reader: write a *portable* program in any language which >takes a file name as its parameter and returns the modification or creation >date and time of that file. Don't use any conditional compilation. Common Lisp: (FILE-WRITE-DATE file) 'file' can be a file name or a stream that is open to a file. This returns the time at which the file was created or last written as an integer in universal time format, or NIL if this cannot be determined. Lawrence G. Mayka AT&T Bell Laboratories lgm@ihlpf.att.com Standard disclaimer.
Technical Details
Message-ID:
<14602@cbnewsc.ATT.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!cbnewsc!lgmReferences:
<970@mti.mti.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!cbnewsc!lgm From: lgm@cbnewsc.ATT.COM (lawrence.g.mayka) Newsgroups: comp.lang.misc Subject: Re: Relationship between C and C++ Keywords: portability myth Message-ID: <14602@cbnewsc.ATT.COM> Date: 23 Mar 90 03:16:46 GMT References: <970@mti.mti.com> Reply-To: lgm@cbnewsc.ATT.COM (lawrence.g.mayka,ihp,) Organization: AT&T Bell Laboratories Lines: 20