merge from 1.8 branch
[bpt/guile.git] / libguile / win32-uname.h
CommitLineData
8dd6dfdc
MV
1/* classes: h_files */
2
b4e15479
SJ
3#ifndef SCM_WIN32_UNAME_H
4#define SCM_WIN32_UNAME_H
8dd6dfdc
MV
5
6/* Copyright (C) 2001 Free Software Foundation, Inc.
7 *
73be1d9e
MV
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.
8dd6dfdc 12 *
73be1d9e 13 * This library is distributed in the hope that it will be useful,
8dd6dfdc 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
73be1d9e
MV
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
8dd6dfdc 17 *
73be1d9e
MV
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
92205699 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
73be1d9e 21 */
8dd6dfdc
MV
22
23#define _UTSNAME_LENGTH 65
24#define _UTSNAME_NODENAME_LENGTH _UTSNAME_LENGTH
25#define _UTSNAME_DOMAIN_LENGTH _UTSNAME_LENGTH
26
27/* Structure describing the system and machine. */
28struct utsname
29{
30 /* Name of the implementation of the operating system. */
31 char sysname[_UTSNAME_LENGTH];
32
33 /* Name of this node on the network. */
34 char nodename[_UTSNAME_NODENAME_LENGTH];
35
36 /* Current release level of this implementation. */
37 char release[_UTSNAME_LENGTH];
38
39 /* Current version level of this release. */
40 char version[_UTSNAME_LENGTH];
41
42 /* Name of the hardware type the system is running on. */
43 char machine[_UTSNAME_LENGTH];
44
45 /* Name of the domain of this node on the network. */
46 char domainname[_UTSNAME_DOMAIN_LENGTH];
47};
48
b4e15479 49int uname (struct utsname * uts);
8dd6dfdc 50
b4e15479 51#endif /* SCM_WIN32_UNAME_H */