ING_DB
This commit is contained in:
parent
271b9ed434
commit
5b9f337b8d
|
|
@ -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);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue