annotate toys/true.c @ 194:30a6db5a95c2

Add comments about SUSv3 specs (or lack thereof).
author Rob Landley <rob@landley.net>
date Mon, 03 Dec 2007 20:05:57 -0600
parents 25447caf1b4b
children 3227c5316260
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
116
a0678c2ae9b8 Add true and false.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 /* vi: set sw=4 ts=4: */
a0678c2ae9b8 Add true and false.
Rob Landley <rob@landley.net>
parents:
diff changeset
2 /*
a0678c2ae9b8 Add true and false.
Rob Landley <rob@landley.net>
parents:
diff changeset
3 * true.c - Return zero.
194
30a6db5a95c2 Add comments about SUSv3 specs (or lack thereof).
Rob Landley <rob@landley.net>
parents: 186
diff changeset
4 *
30a6db5a95c2 Add comments about SUSv3 specs (or lack thereof).
Rob Landley <rob@landley.net>
parents: 186
diff changeset
5 * See http://www.opengroup.org/onlinepubs/007904975/utilities/true.html
116
a0678c2ae9b8 Add true and false.
Rob Landley <rob@landley.net>
parents:
diff changeset
6 */
a0678c2ae9b8 Add true and false.
Rob Landley <rob@landley.net>
parents:
diff changeset
7
a0678c2ae9b8 Add true and false.
Rob Landley <rob@landley.net>
parents:
diff changeset
8 #include "toys.h"
a0678c2ae9b8 Add true and false.
Rob Landley <rob@landley.net>
parents:
diff changeset
9
186
25447caf1b4b Change command main() functions to return void, and exit(toys.exitval) from
Rob Landley <rob@landley.net>
parents: 116
diff changeset
10 void true_main(void)
116
a0678c2ae9b8 Add true and false.
Rob Landley <rob@landley.net>
parents:
diff changeset
11 {
186
25447caf1b4b Change command main() functions to return void, and exit(toys.exitval) from
Rob Landley <rob@landley.net>
parents: 116
diff changeset
12 return;
116
a0678c2ae9b8 Add true and false.
Rob Landley <rob@landley.net>
parents:
diff changeset
13 }