2004-10-14 00:21:07 +04:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2004-11-28 23:09:25 +03:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-11-22 03:37:56 +03:00
|
|
|
* $HEADER$
|
2004-10-14 00:21:07 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef OMPI_UTSNAME_H
|
|
|
|
#define OMPI_UTSNAME_H
|
|
|
|
|
2009-03-17 04:45:19 +03:00
|
|
|
#include "opal_config.h"
|
|
|
|
|
2006-08-20 22:50:47 +04:00
|
|
|
#define OMPI_UTSNAME_LEN 64
|
2004-10-14 00:21:07 +04:00
|
|
|
|
|
|
|
struct utsname {
|
|
|
|
char sysname[OMPI_UTSNAME_LEN];
|
|
|
|
char nodename[OMPI_UTSNAME_LEN];
|
|
|
|
char release[OMPI_UTSNAME_LEN];
|
|
|
|
char version[OMPI_UTSNAME_LEN];
|
|
|
|
char machine[OMPI_UTSNAME_LEN];
|
|
|
|
};
|
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2006-08-20 19:54:04 +04:00
|
|
|
OPAL_DECLSPEC int uname(struct utsname *un);
|
2004-10-14 00:21:07 +04:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* oMPI_UTSNAME_H */
|