1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 07:15:07 +00:00
serenity/LibC/sys/utsname.h
Robin Burchell 0dc9af5f7e Add clang-format file
Also run it across the whole tree to get everything using the One True Style.
We don't yet run this in an automated fashion as it's a little slow, but
there is a snippet to do so in makeall.sh.
2019-05-28 17:31:20 +02:00

19 lines
331 B
C

#pragma once
#include <sys/cdefs.h>
#define UTSNAME_ENTRY_LEN 65
__BEGIN_DECLS
struct utsname {
char sysname[UTSNAME_ENTRY_LEN];
char nodename[UTSNAME_ENTRY_LEN];
char release[UTSNAME_ENTRY_LEN];
char version[UTSNAME_ENTRY_LEN];
char machine[UTSNAME_ENTRY_LEN];
};
int uname(struct utsname*);
__END_DECLS