1*48351Scael.\" Copyright (c) 1990, 1991 The Regents of the University of California. 241986Sbostic.\" All rights reserved. 320482Smckusick.\" 441986Sbostic.\" This code is derived from software contributed to Berkeley by 541986Sbostic.\" Chris Torek. 641986Sbostic.\" %sccs.include.redist.man% 741986Sbostic.\" 8*48351Scael.\" @(#)bstring.3 6.8 (Berkeley) 04/19/91 941986Sbostic.\" 10*48351Scael.Dd 11*48351Scael.Dt BSTRING 3 12*48351Scael.Os 13*48351Scael.Sh NAME 14*48351Scael.Nm bcmp , 15*48351Scael.Nm bcopy , 16*48351Scael.Nm bzero , 17*48351Scael.Nm memccpy , 18*48351Scael.Nm memchr , 19*48351Scael.Nm memcmp , 20*48351Scael.Nm memcpy , 21*48351Scael.Nm memmove, 22*48351Scael.Nm memset 23*48351Scael.Nd byte string operations 24*48351Scael.Sh SYNOPSIS 25*48351Scael.Fd #include <string.h> 26*48351Scael.Ft int 27*48351Scael.Fn bcmp "const void *b1" "const void *b2" "size_t len" 28*48351Scael.Ft void 29*48351Scael.Fn bcopy "const void *src" "void *dst" "size_t len" 30*48351Scael.Ft void 31*48351Scael.Fn bzero "void *b" "size_t len" 32*48351Scael.Ft void * 33*48351Scael.Fn memchr "const void *b" "int c" "size_t len" 34*48351Scael.Ft int 35*48351Scael.Fn memcmp "const void *b1" "const void *b2" "size_t len" 36*48351Scael.Ft void * 37*48351Scael.Fn memccpy "void *dst" "const void *src" "int c" "size_t len" 38*48351Scael.Ft void * 39*48351Scael.Fn memcpy "void *dst" "const void *src" "size_t len" 40*48351Scael.Ft void * 41*48351Scael.Fn memmove "void *dst" "const void *src" "size_t len" 42*48351Scael.Ft void * 43*48351Scael.Fn memset "void *b" "int c" "size_t len" 44*48351Scael.Sh DESCRIPTION 4541986SbosticThese functions operate on variable length strings of bytes. 4641986SbosticThey do not check for terminating null bytes as the routines 4741986Sbosticlisted in 48*48351Scael.Xr string 3 4920482Smckusickdo. 50*48351Scael.Pp 5141986SbosticSee the specific manual pages for more information. 52*48351Scael.Sh SEE ALSO 53*48351Scael.Xr bcmp 3 , 54*48351Scael.Xr bcopy 3 , 55*48351Scael.Xr bzero 3 , 56*48351Scael.Xr memccpy 3 , 57*48351Scael.Xr memchr 3 , 58*48351Scael.Xr memcmp 3 , 59*48351Scael.Xr memcpy 3 , 60*48351Scael.Xr memmove 3 , 61*48351Scael.Xr memset 3 62*48351Scael.Sh STANDARDS 63*48351ScaelThe functions 64*48351Scael.Fn memchr , 65*48351Scael.Fn memcmp , 66*48351Scael.Fn memcpy , 67*48351Scael.Fn memmove , 6836311Sbosticand 69*48351Scael.Fn memset 70*48351Scaelconform to 71*48351Scael.St -ansiC . 72*48351Scael.Sh HISTORY 73*48351ScaelThe functions 74*48351Scael.Fn bzero 75*48351Scaeland 76*48351Scael.Fn memccpy 77*48351Scaelappeared in 78*48351Scael.Bx 4.3 ; 79*48351Scaelthe functions 80*48351Scael.Fn bcmp , 81*48351Scael.Fn bcopy , 82*48351Scaelappeared in 83*48351Scael.Bx 4.2 . 84