1 /**************************************************************************
3 * Copyright (C) 1995 Silicon Graphics, Inc.
5 * These coded instructions, statements, and computer programs were
6 * developed by SGI for public use. If any changes are made to this code
7 * please try to get the changes back to the author. Feel free to make
8 * modifications and changes to the code and release it.
10 **************************************************************************/
15 /* strerror is not available on SunOS 4.1.3 and others */
17 extern char *sys_errlist
[];
20 char *strerror(int errnum
)
25 return(sys_errlist
[errnum
]);
31 #endif /* strerror() */
34 /* stub routines for NT */
42 return GetCurrentThreadId();