2004-10-13 20:21:07 +00:00
|
|
|
/*
|
2005-11-05 19:57:48 +00:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2014-07-26 20:17:09 +00:00
|
|
|
* Copyright (c) 2004-2014 The University of Tennessee and The University
|
2005-11-05 19:57:48 +00:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2015-06-23 20:59:57 -07:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2004-11-28 20:09:25 +00:00
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
* $COPYRIGHT$
|
2015-06-23 20:59:57 -07:00
|
|
|
*
|
2004-11-22 01:38:40 +00:00
|
|
|
* Additional copyrights may follow
|
2015-06-23 20:59:57 -07:00
|
|
|
*
|
2004-11-22 00:37:56 +00:00
|
|
|
* $HEADER$
|
2004-10-13 20:21:07 +00:00
|
|
|
*/
|
|
|
|
|
2014-07-26 20:17:09 +00:00
|
|
|
#ifndef OPAL_UTSNAME_H
|
|
|
|
#define OPAL_UTSNAME_H
|
2004-10-13 20:21:07 +00:00
|
|
|
|
2009-03-17 01:45:19 +00:00
|
|
|
#include "opal_config.h"
|
|
|
|
|
2014-07-26 20:17:09 +00:00
|
|
|
#define OPAL_UTSNAME_LEN 64
|
2004-10-13 20:21:07 +00:00
|
|
|
|
|
|
|
struct utsname {
|
2014-07-26 20:17:09 +00:00
|
|
|
char sysname[OPAL_UTSNAME_LEN];
|
|
|
|
char nodename[OPAL_UTSNAME_LEN];
|
|
|
|
char release[OPAL_UTSNAME_LEN];
|
|
|
|
char version[OPAL_UTSNAME_LEN];
|
|
|
|
char machine[OPAL_UTSNAME_LEN];
|
2004-10-13 20:21:07 +00:00
|
|
|
};
|
|
|
|
|
2009-08-20 11:42:18 +00:00
|
|
|
BEGIN_C_DECLS
|
2006-08-20 15:54:04 +00:00
|
|
|
OPAL_DECLSPEC int uname(struct utsname *un);
|
2009-08-20 11:42:18 +00:00
|
|
|
END_C_DECLS
|
2004-10-13 20:21:07 +00:00
|
|
|
|
2014-07-26 20:17:09 +00:00
|
|
|
#endif /* OPAL_UTSNAME_H */
|