* frysk meeting 2007-10-31 at 9:30 us east coast time
@ 2007-10-30 18:54 Andrew Cagney
0 siblings, 0 replies; only message in thread
From: Andrew Cagney @ 2007-10-30 18:54 UTC (permalink / raw)
To: frysk
[if you would like to dial in then contact me]
[note that all the timezones are a-chang'in: check your local time]
This week, we return to our favorite program:
#include <unistd.h>
void
print(char *what) {
while (*what != '\0') {
write(1, what, 1);
what++;
}
}
int
main(int argc, char** argv) {
// XXX: This forgets to check ARGC.
print(argv[1]);
print("\n");
return 0;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-30 18:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-30 18:54 frysk meeting 2007-10-31 at 9:30 us east coast time Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).