Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bstring(3spp) — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought



BSTRING(3spp)       RISC/os Reference Manual        BSTRING(3spp)



NAME
     bcopy, bcmp, bzero -  buffer operations

SYNOPSIS
     void bcopy(src, dst, length)
     char *src, *dst;
     int length;

     void bcmp(b1, b2, length)
     char *b1, *b2;
     int length;

     void bzero(b, length)
     char *b;
     int length;

DESCRIPTION
     The functions bcopy, bcmp, and bzero operate on variable
     length byte streams.  They do not check for null bytes as
     the routines in string(3) do.

     Bcopy copies a specific number of bytes from one location to
     another.  Bcopy is not guaranteed to work if the source and
     destination buffers overlap.

     Bcmp compares two strings of variable length. Bcmp compares
     byte stream b1 against byte stream b2, and returns 0 if they
     are identical, non-zero, or otherwise.

     Bzero clears the specified buffer.

BUGS
     The bcopy routine take parameters backwards from strcpy.






















                         Printed 1/6/92                    Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026