Serenity Operating System
at master 27 lines 477 B view raw
1/* 2 * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <Kernel/API/POSIX/sys/types.h> 10 11#ifdef __cplusplus 12extern "C" { 13#endif 14 15#define UTSNAME_ENTRY_LEN 65 16 17struct utsname { 18 char sysname[UTSNAME_ENTRY_LEN]; 19 char nodename[UTSNAME_ENTRY_LEN]; 20 char release[UTSNAME_ENTRY_LEN]; 21 char version[UTSNAME_ENTRY_LEN]; 22 char machine[UTSNAME_ENTRY_LEN]; 23}; 24 25#ifdef __cplusplus 26} 27#endif