00-return-argc.c (234B)
1 /* Phase-1 milestone — see docs/CC-CONTRACTS.md §6. 2 * Returns argc, so: 3 * ./00-return-argc -> exit 1 (argv[0] only) 4 * ./00-return-argc a b -> exit 3 5 */ 6 int main(int argc, char **argv) { 7 return argc; 8 }
boot2Playing with the boostrap | |
| git clone https://git.ryansepassi.com/git/boot2.git | |
| Log | Files | Refs | README |