diff options
Diffstat (limited to 'PACE/pace/vxworks/utsname.inl')
-rw-r--r-- | PACE/pace/vxworks/utsname.inl | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/PACE/pace/vxworks/utsname.inl b/PACE/pace/vxworks/utsname.inl deleted file mode 100644 index 0925ebfef1f..00000000000 --- a/PACE/pace/vxworks/utsname.inl +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ -*- C -*- - - * ============================================================================= - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/vxworks/utsname.inl - * - * = AUTHOR - * Joe Hoffert - * - * ============================================================================= */ - -#include "pace/string.h" -#include <hostLib.h> -#include <sysLib.h> - -#if (PACE_HAS_POSIX_SP_UOF) -PACE_INLINE -int -pace_uname (pace_utsname * name) -{ - size_t maxnamelen = sizeof name->nodename; - - PACE_TRACE("pace_uname"); - - pace_strcpy (name->sysname, "VxWorks"); -#if (PACE_VXWORKS == 531) - pace_strcpy (name->release, "5.3.1"); -#elif (PACE_VXWORKS == 540) - pace_strcpy (name->release, "5.4.0"); -#endif /* PACE_VXWORKS != 531 */ - pace_strcpy (name->version, sysBspRev ()); - pace_strcpy (name->machine, sysModel ()); - - return gethostname (name->nodename, maxnamelen); -} -#endif /* PACE_HAS_POSIX_SP_UOF */ |