xfs
[Top] [All Lists]

Re: IRIX clean-ups

To: linux-xfs@xxxxxxxxxxx
Subject: Re: IRIX clean-ups
From: tes@xxxxxxxxxxxxxxxxxxxxxxx (Timothy Shimmin)
Date: Tue, 17 Oct 2000 10:36:56 +1100 (EDT)
In-reply-to: <39EB2D84.1F13D99@xxxxxxxxxxx> from "Russell Cattelan" at Oct 16, 2000 11:32:05 AM
Sender: owner-linux-xfs@xxxxxxxxxxx
> > Also, I'd like to replace the bzero, bcopy etc calls with
> > their libc style equivalents:
> >
> >         bzero(p,s)                              ->      memset((p), 0, (s))
> >         bcopy(s,d,n)                            ->      memcpy((d),(s),(n))
> >         bcmp(s1,s2,l)                           ->      memcmp(s1,s2,l)
> >         ovbcopy(from,to,count)                  ->      
> > memmove(to,from,count)
> >
> > This is of course all done with header magic now and it'd be
> > nice to lose it.
> 
> The mem* functions are fairly standard... probably  wouldn't cause any
> portability problems.
> 
The mem* functions are also part of POSIX (the b* functions aren't). 

--Tim

<Prev in Thread] Current Thread [Next in Thread>