Logo
Explore Help
Sign In
fluencelabs/musl
1
0
Fork 0
You've already forked musl
mirror of https://github.com/fluencelabs/musl synced 2025-05-10 06:07:28 +00:00
Code Issues Projects Releases Wiki Activity
musl/include/sys/utsname.h

31 lines
372 B
C
Raw Normal View History

initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
#ifndef _SYS_UTSNAME_H
#define _SYS_UTSNAME_H
fix all missing instances of __cplusplus checks/extern "C" in headers patch by Arvid Picciani (aep)
2011-11-10 20:40:06 -05:00
#ifdef __cplusplus
extern "C" {
#endif
default features: make musl usable without feature test macros the old behavior of exposing nothing except plain ISO C can be obtained by defining __STRICT_ANSI__ or using a compiler option (such as -std=c99) that predefines it. the new default featureset is POSIX with XSI plus _BSD_SOURCE. any explicit feature test macros will inhibit the default. installation docs have also been updated to reflect this change.
2012-09-07 23:13:55 -04:00
#include <features.h>
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
struct utsname
{
char sysname[65];
char nodename[65];
char release[65];
char version[65];
char machine[65];
#ifdef _GNU_SOURCE
char domainname[65];
#else
char __domainname[65];
#endif
};
int uname (struct utsname *);
fix all missing instances of __cplusplus checks/extern "C" in headers patch by Arvid Picciani (aep)
2011-11-10 20:40:06 -05:00
#ifdef __cplusplus
}
#endif
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 1133ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API