delorie.com/djgpp/doc/libc/libc_60.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

bcopy

Syntax

 
#include <string.h>

void bcopy(const void *source, void *dest, int length);

Description

Copy length bytes from source to dest. Overlapping regions are handled properly, although this behavior is not portable.

Return Value

No value is returned.

Portability

ANSI/ISO C No
POSIX No

Example

 
struct s a, b;
bcopy(a, b, sizeof(struct s));


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004