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
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but 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 02110-1301 USA
23 #define _UTSNAME_LENGTH 65
24 #define _UTSNAME_NODENAME_LENGTH _UTSNAME_LENGTH
25 #define _UTSNAME_DOMAIN_LENGTH _UTSNAME_LENGTH
27 /* Structure describing the system and machine. */
30 /* Name of the implementation of the operating system. */
31 char sysname[_UTSNAME_LENGTH];
33 /* Name of this node on the network. */
34 char nodename[_UTSNAME_NODENAME_LENGTH];
36 /* Current release level of this implementation. */
37 char release[_UTSNAME_LENGTH];
39 /* Current version level of this release. */
40 char version[_UTSNAME_LENGTH];
42 /* Name of the hardware type the system is running on. */
43 char machine[_UTSNAME_LENGTH];
45 /* Name of the domain of this node on the network. */
46 char domainname[_UTSNAME_DOMAIN_LENGTH];
49 int uname (struct utsname * uts);
51 #endif /* SCM_WIN32_UNAME_H */