BuildSystem: Move all userpace libraries under the userspace directory
As the number of libraries is increasing, root directory starts to expand. This adds better organization for libraries
This commit is contained in:
23
userspace/libraries/LibC/include/sys/utsname.h
Normal file
23
userspace/libraries/LibC/include/sys/utsname.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef _SYS_UTSNAME_H
|
||||
#define _SYS_UTSNAME_H 1
|
||||
|
||||
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_utsname.h.html
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
struct utsname
|
||||
{
|
||||
char sysname[65]; /* Name of this implementation of the operating system. */
|
||||
char nodename[65]; /* Name of this node within the communications network to which this node is attached, if any. */
|
||||
char release[65]; /* Current release level of this implementation. */
|
||||
char version[65]; /* Current version level of this release. */
|
||||
char machine[65]; /* Name of the hardware type on which the system is running. */
|
||||
};
|
||||
|
||||
int uname(struct utsname* name);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user