NetBSD/sys/arch/pmax/test/t02.c

14 lines
203 B
C

main(argc, argv)
int argc;
char **argv;
{
register int i;
int fd = open("/dev/console", 1);
for (i = 0; i<argc; i++) {
write(fd, argv[i], strlen(argv[i]));
write(fd, "\n", 1);
}
return(0);
}