mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Add syscalls to Blinkenlights and fix bugs
This commit is contained in:
parent
f6df29cc3d
commit
578cb21591
25 changed files with 187 additions and 108 deletions
3
third_party/make/getprogname.c
vendored
3
third_party/make/getprogname.c
vendored
|
@ -17,12 +17,13 @@
|
|||
/* clang-format off */
|
||||
#include "third_party/make/config.h"
|
||||
#include "third_party/make/getprogname.h"
|
||||
#include "libc/bits/safemacros.internal.h"
|
||||
#include "third_party/make/dirname.h"
|
||||
|
||||
char const *
|
||||
getprogname (void)
|
||||
{
|
||||
return program_invocation_short_name;
|
||||
return firstnonnull(program_invocation_short_name, "unknown");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue