
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
25 lines
448 B
C
25 lines
448 B
C
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#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
|