diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-14 15:57:38 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-14 15:57:38 -0400 |
commit | 275be4b47037984205034920b4dc61e55fd2d6b5 (patch) | |
tree | dddd5ea1ece05a2e85f77042f4519caea1a1ef7c /src/cmd | |
parent | f8d199805cf54030641f804852202eb9e6c9b7c7 (diff) |
libc: Add __libc_init as well as cmdline arguments
This commit introduces a libc initialization function @ __libc_init() a
long with variables __argv __argc used for command line arguments
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/hush/hush.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/hush/hush.c b/src/cmd/hush/hush.c index f8e2572..f82fa86 100644 --- a/src/cmd/hush/hush.c +++ b/src/cmd/hush/hush.c @@ -29,6 +29,7 @@ #include <sys/wait.h> #include <sys/spawn.h> +#include <sys/limits.h> #include <sys/iotap.h> #include <stdio.h> #include <unistd.h> |