feat: ports - git port

This commit is contained in:
2026-08-09 10:47:07 +02:00
parent cfb8d91442
commit 6f3cf99667
34 changed files with 2255 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
/*
* <sys/utsname.h> for the MontaukOS git port.
*
* Used by help.c for the "uname" lines of `git version --build-options` and
* by the bugreport builtin. Answers static MontaukOS strings; there is no
* kernel interface for the release/version fields yet.
*
* Implementation in montauk-compat.c.
*/
#ifndef _MONTAUK_GIT_SYS_UTSNAME_H_
#define _MONTAUK_GIT_SYS_UTSNAME_H_
struct utsname {
char sysname[65];
char nodename[65];
char release[65];
char version[65];
char machine[65];
};
int uname(struct utsname *buf);
#endif /* _MONTAUK_GIT_SYS_UTSNAME_H_ */