test.c 246 B

123456789101112131415161718192021
  1. /*
  2. * test for libglimg
  3. */
  4. #include <stdlib.h>
  5. #include "glimg.h"
  6. #include "glbmp.h"
  7. int
  8. main(int argc, char *argv[])
  9. {
  10. if (argc < 2) {
  11. return (EXIT_FAILURE);
  12. }
  13. GLBMP_print_headers(argv[1]);
  14. return (EXIT_SUCCESS);
  15. }