🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #7859

Re: memmove or bcopy

#7859
From: Michael T Pins
Date: Thu, 22 Aug 1996 00:00
27 lines
1671 bytes
jpc@drum.msfc.nasa.gov (J. Porter Clark) writes:

>mtpins@icaen.uiowa.edu (Michael T Pins) writes:

>>I've been told that SunOS (as opposed to Solaris) doesn't support memmove.
>>While I could just change it into a bcopy, I'd rather just bypass this bit
>>of Sun brain-damage.  Anyone know of any other systems that don't have a
>>memmove so I can catch them as well?

>This is one of those places where autoconf would come in handy.

>SunOS 4.1.3 doesn't support memmove().

>However, Solaris 2.[0-4] doesn't support bcopy() except in the
>deprecated BSD library.  Solaris 2.5 and 2.5.1 both have bcopy().

What I plan on doing is changing all the bcopy's to memmove's, with an
ifdef for systems that don't support memmove.   

-- 
**************************************************************************
*  Michael T Pins                  |        mtpins@isca.uiowa.edu        *
*  keeper of the nn sources        |        mtpins@winternet.com         *
*  ftp.isca.uiowa.edu              |      #include <std.disclaimer>      *

Technical Details
Message-ID: <4vgkup$bqb@server05.icaen.uiowa.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
References: <4vgd0k$aso@server05.icaen.uiowa.edu> <4vghml$feg@hammer.msfc.nasa.gov>

Show Full Headers
Complete Article Headers
Message-ID: <4vgkup$bqb@server05.icaen.uiowa.edu>
Subject: Re: memmove or bcopy
Date: Thu, 22 Aug 1996 00:00:00 +0000
From: mtpins@icaen.uiowa.edu (Michael T Pins)
References: <4vgd0k$aso@server05.icaen.uiowa.edu> <4vghml$feg@hammer.msfc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 175612730
Organization: Iowa Computer Aided Engineering Network, University of Iowa
Newsgroups: news.software.nn