This commit is contained in:
Oliver Lehmann 1989-02-06 13:50:47 +00:00
parent 271b9ed434
commit 5b9f337b8d
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# include <stdio.h>
main(argc, argv)
int argc;
char *argv[];
{
register FILE *fd;
if ((fd = fopen("sys/etc/customer", "w")) == (FILE *) 0)
{
printf("can't create sys/etc/customer\n");
return (1);
}
fprintf(fd, "%s", argv[1]);
putc(0, fd);
return (0);
}