Block a user
5545846c92
dj(1): fix fprintio signature
162c6411b3
mm(1): remove terminate macro
8bb57bf2e4
Merge branch 'dj-formatting' of git.tebibyte.media:bonsai/harakit into dj-formatting
ca6148e11f
intcmp(1): tweak comment
Formatting
Iterating through characters in arguments looks something like:
for(size_t i = optind; i < argc; ++i) {
for(size_t j = 0; argv[i][j] != '\0'; ++j) { // two dereferences (p[i][j])
…
Formatting
Yes, not setting an intermediate variable but relying on argv[0]
elsewhere, only falling back to program_name
here.
So:
if (argc < 3) { return usage(argv[0] == NULL ? program_name…
a217c4f631
Merge branch 'main' into peek
e90d25e30f
Merge branch 'strcmp'
71f372d2c2
Merge branch 'intcmp'
27ff64dffa
intcmp(1): add comments
becb3bac4e
strcmp(1): code clarification
Formatting
@trinity: Are you cool with this being merged without
.clang-format
?
Yeah, we can do it later down the line.
5d48114083
dj(1), intcmp(1), mm(1), npc(1), scrut(1), str(1): make usage function consistent
429d064209
mm(1): fix argv use
c5c0e543e4
mm(1): remove useless extern errno