comparison ffstools/tiaud/compile.c @ 834:c458e33060bf

ffstools/tiaud: prep for adding support for new AEC
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Jul 2021 00:10:13 +0000
parents 2abc086b13ed
children f7e946389f8b
comparison
equal deleted inserted replaced
833:625bee54ed34 834:c458e33060bf
631 fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0666); 631 fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0666);
632 if (fd < 0) { 632 if (fd < 0) {
633 perror(filename); 633 perror(filename);
634 exit(1); 634 exit(1);
635 } 635 }
636 write(fd, &bin, sizeof bin); 636 write(fd, &bin, MODE_FILE_SIZE_OLDAEC);
637 close(fd); 637 close(fd);
638 } 638 }
639 639
640 main(argc, argv) 640 main(argc, argv)
641 char **argv; 641 char **argv;