mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-28 19:20:51 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32187 72102866-910b-0410-8b05-ffd578937521
20 lines
417 B
Objective-C
20 lines
417 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
int
|
|
main(int argc, char **argv)
|
|
{
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
|
NSArray *args = [[NSProcessInfo processInfo] arguments];
|
|
unsigned c = [args count];
|
|
int i;
|
|
|
|
for (i = 0; i < c; i++)
|
|
{
|
|
GSPrintf(stdout, @"%s%@", (i == 0 ? "" : " "), [args objectAtIndex: i]);
|
|
}
|
|
GSPrintf(stdout, @"\n");
|
|
fflush(stdout);
|
|
[arp release];
|
|
return 0;
|
|
}
|
|
|