Re: swab

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Wed Jan 13 1999 - 13:58:13 EST


 Makes me kind of wonder whether we should use it at all.
Right now, it's used in two files in awt/X/
At least have configure check for it or something.

        - Godmar

>
> Godmar,
>
> > I have it on a Debian 2.0 system. Must be glibc2 then?
> I don't know, try ls -l /lib/libc*
> glibc1 == libc5
> glibc2 == libc6
>
>
> > It says in unistd.h:
> >
> > #ifdef __USE_XOPEN
> > extern void swab __P ((__const char *__from, char *__to, ssize_t __n));
> > #endif
> >
> On NCR MP-RAS:
> in unistd.h it's enclosed in:
> #if defined(_XOPEN_SOURCE) \
> || (!defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE))
> #endif
>
> And in stdlib.h by
> #if __STDC__ == 0 && !defined(_XOPEN_SOURCE) \
> && !defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE)
> #endif
>
> Edouard.
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:40 EDT