~ubuntu-branches/ubuntu/trusty/musl/trusty-proposed

« back to all changes in this revision

Viewing changes to include/sys/utsname.h

  • Committer: Package Import Robot
  • Author(s): Kevin Bortis
  • Date: 2013-09-20 20:54:14 UTC
  • Revision ID: package-import@ubuntu.com-20130920205414-5b61trtmma18w58o
Tags: upstream-0.9.13
ImportĀ upstreamĀ versionĀ 0.9.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _SYS_UTSNAME_H
 
2
#define _SYS_UTSNAME_H
 
3
 
 
4
#ifdef __cplusplus
 
5
extern "C" {
 
6
#endif
 
7
 
 
8
#include <features.h>
 
9
 
 
10
struct utsname
 
11
{
 
12
        char sysname[65];
 
13
        char nodename[65];
 
14
        char release[65];
 
15
        char version[65];
 
16
        char machine[65];
 
17
#ifdef _GNU_SOURCE
 
18
        char domainname[65];
 
19
#else
 
20
        char __domainname[65];
 
21
#endif
 
22
};
 
23
 
 
24
int uname (struct utsname *);
 
25
 
 
26
#ifdef __cplusplus
 
27
}
 
28
#endif
 
29
 
 
30
#endif