Commit Graph

7 Commits (4b48c796a4239909574365304a871dce0ae8af76)

Author SHA1 Message Date
Avril d82407951a
Mapping +unmappign haystacks from cl.
3 years ago
Avril aff04b6d4b
Reworked `PROG_RET_` to return negatives on internal, memory, or file/mapping failures, and to return the first haystack number that failed to match instead as return code (haystack numbers start at 1, since 0 is the needle). If all matched, return 0 from main().
3 years ago
Avril 254d9fbadc
Added `cmp_find()` `cmp_find_many()` in "comp.c"/"comp.h".
3 years ago
Avril b694d73167
Added "useful" program error return codes `PROG_RET_` in "project.h". These can be used to specify which operation failed and on which input.
3 years ago
Avril f056d09c2e
Added `--help` option
3 years ago
Avril a8e38d292e
Added Makefile re-export (project.h) `PROG_COMPILED_TIMESTAMP` (u64): UTC unix timestamp (seconds) when TU was compiled.
3 years ago
Avril 66f9b0ad55
Added Makefile exports for metadata, and import header that creates better-useable C types from them
3 years ago