Browse Source

more extension tets

master
tth 2 years ago
parent
commit
947152532d
  1. 8
      funcs/t.c

8
funcs/t.c

@ -456,6 +456,12 @@ printf("%-10s %d\n\n", fname, foo); @@ -456,6 +456,12 @@ printf("%-10s %d\n\n", fname, foo);
foo = format_from_extension(fname="foo.png");
printf("%-10s %d\n\n", fname, foo);
foo = format_from_extension(fname="foo.tiff");
printf("%-10s %d\n\n", fname, foo);
foo = format_from_extension(fname="foo.fits");
printf("%-10s %d\n\n", fname, foo);
foo = format_from_extension(fname="foo.xyzzy");
printf("%-10s %d\n\n", fname, foo);
@ -688,7 +694,7 @@ if (foo) { @@ -688,7 +694,7 @@ if (foo) {
fprintf(stderr, "Essai ====> %d\n", foo);
}
fprintf(stderr, "++++++++++++++ end of pid %d\n", getpid());
fprintf(stderr, "+++++ end of %s pid %d\n", command, getpid());
return 0;
}
/* --------------------------------------------------------------------- */

Loading…
Cancel
Save