Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "Mr. Man-wai Chang" <toylet.toylet@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Write a C program that does NOT use time! |
| Date | 2016-11-18 01:00 +0800 |
| Organization | Hung Hom, Kowloon, Hong Kong |
| Message-ID | <o0knms$u7l$4@dont-email.me> (permalink) |
| References | <o0eqoq$t9u$1@dont-email.me> <o0f3e7$qfp$2@dont-email.me> <o0kllu$n53$1@dont-email.me> |
On 18/11/2016 12:26 AM, Lew Pitcher wrote:
> The other "null" program was the Unix true(1) program. While most Unix systems
> now code true(1) something like
> int main(void) { return 0; }
> (I'm told that) early versions of Unix used a program with no instructions at
> all. The loader would treat "fail to load because there's nothing there"
> as "success" with a return value of 0.
I forgot about this one. The usually one is hello.c!
Did you time this "null" program in various compilers? How short, if not
real-time, is the execution time?
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Write a C program that does NOT use time! "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-15 19:16 +0800
Re: Write a C program that does NOT use time! Robert Spanjaard <spamtrap@arumes.com> - 2016-11-15 13:30 +0100
Re: Write a C program that does NOT use time! "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-15 21:11 +0800
Re: Write a C program that does NOT use time! "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-16 01:42 +0800
Re: Write a C program that does NOT use time! "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-15 21:44 +0800
Re: Write a C program that does NOT use time! jameskuyper@verizon.net - 2016-11-16 06:52 -0800
Re: Write a C program that does NOT use time! Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2016-11-17 11:26 -0500
Re: Write a C program that does NOT use time! "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-18 01:00 +0800
Re: Write a C program that does NOT use time! Keith Thompson <kst-u@mib.org> - 2016-11-17 09:07 -0800
Re: Write a C program that does NOT use time! "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-11-15 09:46 -0800
Re: Write a C program that does NOT use time! "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-16 11:46 +0800
Re: Write a C program that does NOT use time! Mark Storkamp <mstorkamp@yahoo.com> - 2016-11-16 08:09 -0600
Re: Write a C program that does NOT use time! "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-16 22:15 +0800
Re: Write a C program that does NOT use time! Mark Storkamp <mstorkamp@yahoo.com> - 2016-11-16 09:05 -0600
Re: Write a C program that does NOT use time! "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-17 22:13 +0800
Re: Write a C program that does NOT use time! "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-11-17 06:21 -0800
Re: Write a C program that does NOT use time! Mark Storkamp <mstorkamp@yahoo.com> - 2016-11-17 09:36 -0600
Re: Write a C program that does NOT use time! "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-11-17 07:45 -0800
Re: Write a C program that does NOT use time! Jerry Stuckle <jstucklex@attglobal.net> - 2016-11-17 11:47 -0500
Re: Write a C program that does NOT use time! "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-18 00:57 +0800
Re: Write a C program that does NOT use time! Robert Wessel <robertwessel2@yahoo.com> - 2016-11-17 20:11 -0600
Re: C on IBM mainframes "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-18 17:30 +0800
Re: C on IBM mainframes Robert Wessel <robertwessel2@yahoo.com> - 2016-11-21 03:19 -0600
Re: C on IBM mainframes "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-21 19:12 +0800
Re: C on IBM mainframes "J. Clarke" <j.clarke.873638@gmail.com> - 2016-12-04 07:40 -0500
Re: C on IBM mainframes "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-12-04 20:57 +0800
Re: Write a C program that does NOT use time! David Brown <david.brown@hesbynett.no> - 2016-11-18 10:32 +0100
csiph-web