feat: ports - git port
This commit is contained in:
1 parent
cfb8d91442
commit
6f3cf99667
34 files changed
+2255
-2
No files matched your search
@@ -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_ */
|
||||
Reference in new issue
Block a user