feat: ports - git port
This commit is contained in:
@@ -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