commit b066c30b69f5c9c56003b50e830933ecacd047ff
parent 8d082c0dd94ebc80a58f143e099f079bf9d5cb9c
Author: evenfri <evenfri256@gmail.com>
Date: Sun, 9 Aug 2026 01:54:24 +0800
remove AI '-'
Diffstat:
28 files changed, 33 insertions(+), 33 deletions(-)
diff --git a/README b/README
@@ -15,22 +15,22 @@ tree where each function lives in its own file.
-----------
* Zero external C library or host header dependencies.
* Unified header file (libc.h) containing essential types and prototypes.
-* Granular archive build (libc.a) — only referenced objects are linked.
+* Granular archive build (libc.a) - only referenced objects are linked.
* Custom entry point supporting argc, argv, and envp stack extraction.
3. Dependencies
---------------
-* mk-standalone — Plan 9 mk build engine port
+* mk-standalone - Plan 9 mk build engine port
git://git.evenfri.duckdns.org/mk-standalone.git
4. Building
-----------
The project uses mk-standalone for build automation.
- mk — build libc.a
- mk clean — remove intermediate object files
- mk nuke — remove object files and libc.a
- mk rebuild — perform full clean rebuild
+ mk - build libc.a
+ mk clean - remove intermediate object files
+ mk nuke - remove object files and libc.a
+ mk rebuild - perform full clean rebuild
5. Usage Example
----------------
diff --git a/_exit.c b/_exit.c
@@ -1,5 +1,5 @@
/*
- * _exit.c — direct exit system call
+ * _exit.c - direct exit system call
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/calloc.c b/calloc.c
@@ -1,5 +1,5 @@
/*
- * calloc.c — allocate and clear memory
+ * calloc.c - allocate and clear memory
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/chdir.c b/chdir.c
@@ -1,5 +1,5 @@
/*
- * chdir.c — change working directory
+ * chdir.c - change working directory
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/close.c b/close.c
@@ -1,5 +1,5 @@
/*
- * close.c — close system call
+ * close.c - close system call
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/execve.c b/execve.c
@@ -1,5 +1,5 @@
/*
- * execve.c — execute program
+ * execve.c - execute program
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/execvp.c b/execvp.c
@@ -1,5 +1,5 @@
/*
- * execvp.c — execute a file, searching PATH
+ * execvp.c - execute a file, searching PATH
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/exit.c b/exit.c
@@ -1,5 +1,5 @@
/*
- * exit.c — normal program termination
+ * exit.c - normal program termination
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/fork.c b/fork.c
@@ -1,5 +1,5 @@
/*
- * fork.c — fork system call wrapper
+ * fork.c - fork system call wrapper
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/getcwd.c b/getcwd.c
@@ -1,5 +1,5 @@
/*
- * getcwd.c — get current working directory
+ * getcwd.c - get current working directory
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/getdents.c b/getdents.c
@@ -1,5 +1,5 @@
/*
- * getdents.c — get directory entries
+ * getdents.c - get directory entries
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/libc.h b/libc.h
@@ -1,5 +1,5 @@
/*
- * libc.h — core definitions and function prototypes
+ * libc.h - core definitions and function prototypes
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/malloc.c b/malloc.c
@@ -1,5 +1,5 @@
/*
- * malloc.c — basic memory allocator
+ * malloc.c - basic memory allocator
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/memcpy.c b/memcpy.c
@@ -1,5 +1,5 @@
/*
- * memcpy.c — copy memory area
+ * memcpy.c - copy memory area
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/memset.c b/memset.c
@@ -1,5 +1,5 @@
/*
- * memset.c — fill memory with a constant byte
+ * memset.c - fill memory with a constant byte
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/mmap.c b/mmap.c
@@ -1,5 +1,5 @@
/*
- * mmap.c — mmap system call wrapper
+ * mmap.c - mmap system call wrapper
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/mount.c b/mount.c
@@ -1,5 +1,5 @@
/*
- * mount.c — mount system call wrapper
+ * mount.c - mount system call wrapper
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/munmap.c b/munmap.c
@@ -1,5 +1,5 @@
/*
- * munmap.c — munmap system call wrapper
+ * munmap.c - munmap system call wrapper
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/open.c b/open.c
@@ -1,5 +1,5 @@
/*
- * open.c — open system call
+ * open.c - open system call
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/read.c b/read.c
@@ -1,5 +1,5 @@
/*
- * read.c — read system call
+ * read.c - read system call
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/realloc.c b/realloc.c
@@ -1,5 +1,5 @@
/*
- * realloc.c — reallocate memory block
+ * realloc.c - reallocate memory block
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/stack_chk.c b/stack_chk.c
@@ -1,5 +1,5 @@
/*
- * stack_chk.c — stack smashing protection stub
+ * stack_chk.c - stack smashing protection stub
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/strchr.c b/strchr.c
@@ -1,5 +1,5 @@
/*
- * strchr.c — locate character in string
+ * strchr.c - locate character in string
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/strcmp.c b/strcmp.c
@@ -1,5 +1,5 @@
/*
- * strcmp.c — compare two strings
+ * strcmp.c - compare two strings
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/strlen.c b/strlen.c
@@ -1,5 +1,5 @@
/*
- * strlen.c — get string length
+ * strlen.c - get string length
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/strtok.c b/strtok.c
@@ -1,5 +1,5 @@
/*
- * strtok.c — extract tokens from string
+ * strtok.c - extract tokens from string
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/waitpid.c b/waitpid.c
@@ -1,5 +1,5 @@
/*
- * waitpid.c — waitpid system call wrapper
+ * waitpid.c - waitpid system call wrapper
* Copyright (C) 2026. All rights reserved.
*/
diff --git a/write.c b/write.c
@@ -1,5 +1,5 @@
/*
- * write.c — write system call
+ * write.c - write system call
* Copyright (C) 2026. All rights reserved.
*/