diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2005-11-04 00:06:49 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2005-11-04 00:06:49 (GMT) |
| commit | 5c515e514185dad2690ec703c1d03cac81d9e4fc (patch) | |
| tree | 86211e81a05bc3c61493644f91017b9b65f71771 /win/tclWinError.c | |
| parent | 261d90bcdf706597fe95e558372883fe807c722b (diff) | |
| download | tcl-5c515e514185dad2690ec703c1d03cac81d9e4fc.zip tcl-5c515e514185dad2690ec703c1d03cac81d9e4fc.tar.gz tcl-5c515e514185dad2690ec703c1d03cac81d9e4fc.tar.bz2 | |
ANSIfy
Diffstat (limited to 'win/tclWinError.c')
| -rw-r--r-- | win/tclWinError.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/win/tclWinError.c b/win/tclWinError.c index 9a504d2..05661a2 100644 --- a/win/tclWinError.c +++ b/win/tclWinError.c @@ -1,22 +1,21 @@ -/* +/* * tclWinError.c -- * - * This file contains code for converting from Win32 errors to - * errno errors. + * This file contains code for converting from Win32 errors to errno + * errors. * * Copyright (c) 1995-1996 by Sun Microsystems, Inc. * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. + * See the file "license.terms" for information on usage and redistribution of + * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinError.c,v 1.6 2004/04/06 22:25:58 dgp Exp $ + * RCS: @(#) $Id: tclWinError.c,v 1.7 2005/11/04 00:06:50 dkf Exp $ */ #include "tclInt.h" /* - * The following table contains the mapping from Win32 errors to - * errno errors. + * The following table contains the mapping from Win32 errors to errno errors. */ static char errorTable[] = { @@ -354,8 +353,8 @@ static int wsaErrorTable[] = { */ void -TclWinConvertError(errCode) - DWORD errCode; /* Win32 error code. */ +TclWinConvertError( + DWORD errCode) /* Win32 error code. */ { if (errCode >= tableLen) { Tcl_SetErrno(EINVAL); @@ -381,8 +380,8 @@ TclWinConvertError(errCode) */ void -TclWinConvertWSAError(errCode) - DWORD errCode; /* Win32 error code. */ +TclWinConvertWSAError( + DWORD errCode) /* Win32 error code. */ { if ((errCode >= WSAEWOULDBLOCK) && (errCode <= WSAEREMOTE)) { Tcl_SetErrno(wsaErrorTable[errCode - WSAEWOULDBLOCK]); |
