summaryrefslogtreecommitdiff
path: root/dviware/umddvi/lib/man/bstring.tex
blob: 367222e2f50be02790efbfad0955d1f5bda8aad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\manual BSTRING(3){}
\name
bcopy, bzero, ffs---bit and byte string operations
\synopsis
bcopy(src, dst, length)
char *src, *dst;
int length;

bzero(b, length)
char *b;
int length;
\endsyn
\description
The routines \i{bcopy} and \i{bzero} operate on variable length
strings of bytes.  They do not check for null bytes as the routines
in \i{string}(3) do.

\i{Bcopy} copies \i{length} bytes from string \i{src} to the string
\i{dst}.

\i{Bzero} places \i{length} 0 bytes in the string \i{b1}.
\bugs
The \i{bcopy} routine take parameters backwards from \i{strcpy}.