This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
frysk meeting 2007-10-31 at 9:30 us east coast time
- From: Andrew Cagney <cagney at redhat dot com>
- To: frysk at sourceware dot org
- Date: Tue, 30 Oct 2007 14:53:26 -0400
- Subject: frysk meeting 2007-10-31 at 9:30 us east coast time
[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;
}