1bcopy(3)                   Library Functions Manual                   bcopy(3)
2
3
4

NAME

6       bcopy - copy byte sequence
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

12       #include <strings.h>
13
14       [[deprecated]] void bcopy(const void src[.n], void dest[.n], size_t n);
15

DESCRIPTION

17       The  bcopy()  function  copies n bytes from src to dest.  The result is
18       correct, even when both areas overlap.
19

RETURN VALUE

21       None.
22

ATTRIBUTES

24       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
25       tributes(7).
26
27       ┌────────────────────────────────────────────┬───────────────┬─────────┐
28Interface                                   Attribute     Value   
29       ├────────────────────────────────────────────┼───────────────┼─────────┤
30bcopy()                                     │ Thread safety │ MT-Safe │
31       └────────────────────────────────────────────┴───────────────┴─────────┘
32

STANDARDS

34       None.
35

HISTORY

37       4.3BSD.
38
39       Marked  as  LEGACY  in POSIX.1-2001: use memcpy(3) or memmove(3) in new
40       programs.  Note that the  first  two  arguments  are  interchanged  for
41       memcpy(3)  and  memmove(3).   POSIX.1-2008 removes the specification of
42       bcopy().
43

SEE ALSO

45       bstring(3), memccpy(3), memcpy(3), memmove(3), strcpy(3), strncpy(3)
46
47
48
49Linux man-pages 6.05              2023-07-20                          bcopy(3)
Impressum