3 #ifndef SCM_WIN32_UNAME_H
4 #define SCM_WIN32_UNAME_H
6 /* Copyright (C) 2001, 2006 Free Software Foundation, Inc.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 3 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 #define _UTSNAME_LENGTH 65
25 #define _UTSNAME_NODENAME_LENGTH _UTSNAME_LENGTH
26 #define _UTSNAME_DOMAIN_LENGTH _UTSNAME_LENGTH
28 /* Structure describing the system and machine. */
31 /* Name of the implementation of the operating system. */
32 char sysname
[_UTSNAME_LENGTH
];
34 /* Name of this node on the network. */
35 char nodename
[_UTSNAME_NODENAME_LENGTH
];
37 /* Current release level of this implementation. */
38 char release
[_UTSNAME_LENGTH
];
40 /* Current version level of this release. */
41 char version
[_UTSNAME_LENGTH
];
43 /* Name of the hardware type the system is running on. */
44 char machine
[_UTSNAME_LENGTH
];
46 /* Name of the domain of this node on the network. */
47 char domainname
[_UTSNAME_DOMAIN_LENGTH
];
50 int uname (struct utsname
* uts
);
52 #endif /* SCM_WIN32_UNAME_H */