mirror of
https://github.com/gungwald/prodos-more.git
synced 2025-02-16 19:30:53 +00:00
21 lines
302 B
C
21 lines
302 B
C
/*
|
|
* more.c
|
|
*
|
|
* Created on: Jan 4, 2020
|
|
* Author: bill
|
|
*/
|
|
|
|
int main(int argumentCount, char *arguments)
|
|
{
|
|
int i;
|
|
int exitCode;
|
|
|
|
if (argumentCount == 0)
|
|
exitCode = more(askUserForFile());
|
|
else
|
|
for (i = 1; i < argumentCount; ++i)
|
|
exitCode = more(arguments[i]);
|
|
|
|
return exitCode;
|
|
}
|