** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: kstddef.h,v 1.10 2000/05/16 04:33:17 kevin Exp $
+** $Id: kstddef.h,v 1.11 2000/06/03 06:29:08 kevin Exp $
** $Log: kstddef.h,v $
+** Revision 1.11 2000/06/03 06:29:08 kevin
+** *** empty log message ***
+**
** Revision 1.10 2000/05/16 04:33:17 kevin
** Updated documentation
**
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
+
/******************************************************************************
*
* FILE IDENTIFICATION
/* netorder.c */
void *strreverse (void *dest, const void *src, size_t n);
-int read_nlong (unsigned long int *n, int fd);
-int write_nlong (unsigned long int const *n, int fd);
+#if SIZEOF_SHORT == 4
+int read_n32bint (unsigned short *n, int fd);
+int write_n32bint (unsigned short const *n, int fd);
+#elif SIZEOF_LONG == 4
+int read_n32bint (unsigned long *n, int fd);
+int write_n32bint (unsigned long const *n, int fd);
+#else
+int read_n32bint (unsigned int *n, int fd);
+int write_n32bint (unsigned int const *n, int fd);
+#endif
int read_nfloat (float *f, int fd);
int write_nfloat (float const *f, int fd);
int read_ndouble (double *d, int fd);